-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
77 lines (67 loc) · 2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[workspace]
members = [".", "atmosphere-core", "atmosphere-macros"]
[workspace.package]
version = "0.3.1"
license = "Apache-2.0"
edition = "2021"
exclude = ["/.github", "/tests"]
authors = [
"Florian Eich <[email protected]>",
"Mara Schulke <[email protected]>",
"Nicolas Vizzari-Trinquier <[email protected]>",
]
description = "A lightweight sql framework for sustainable database reliant systems"
repository = "https://github.com/helsing-ai/atmosphere"
keywords = ["sqlx", "postgres", "database", "orm", "backend"]
[workspace.dependencies]
atmosphere-core = { version = "=0.3.1", path = "atmosphere-core" }
atmosphere-macros = { version = "=0.3.1", path = "atmosphere-macros" }
async-trait = "0.1"
lazy_static = "1"
sqlx = { version = "0.8", features = ["chrono"] }
thiserror = "1"
[package]
name = "atmosphere"
readme = "README.md"
description = "A lightweight sql framework for sustainable database reliant systems"
documentation = "https://docs.rs/atmosphere"
version.workspace = true
license.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
[dependencies]
atmosphere-core.workspace = true
atmosphere-macros.workspace = true
async-trait.workspace = true
sqlx.workspace = true
[features]
default = []
mysql = ["atmosphere-core/mysql", "atmosphere-macros/mysql"]
postgres = ["atmosphere-core/postgres", "atmosphere-macros/postgres"]
sqlite = ["atmosphere-core/sqlite", "atmosphere-macros/sqlite"]
[dev-dependencies]
sqlx = { version = "0.8", features = [
"runtime-tokio-rustls",
"any",
"sqlite",
"mysql",
"postgres",
] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tokio-test = "0"
[[example]]
name = "forest"
path = "examples/forest/main.rs"
required-features = ["sqlite"]
[[example]]
name = "blog"
path = "examples/blog/main.rs"
required-features = ["sqlite"]
[[test]]
name = "integration"
path = "tests/lib.rs"
test = true
required-features = ["postgres"]
[package.metadata.docs.rs]
features = ["postgres"]