-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
108 lines (100 loc) · 3.69 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "slight"
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[[bin]]
name = "slight"
[lib]
name = "slight_lib"
path = "src/lib.rs"
[dependencies]
slight-blob-store = { workspace = true, features = ["aws_s3"], optional = true }
slight-core = { workspace = true }
slight-file = { workspace = true }
slight-runtime = { workspace = true }
slight-keyvalue = { workspace = true, features = ["filesystem", "awsdynamodb", "redis", "azblob"], optional = true}
slight-distributed-locking = { workspace = true, features = ["etcd"], optional = true}
slight-messaging = { workspace = true, features = ["filesystem", "mosquitto", "azsbus", "natsio"], optional = true}
slight-runtime-configs = { workspace = true, optional = true }
slight-common = { workspace = true }
slight-sql = { workspace = true, features = ["postgres"], optional = true }
slight-http-server = { workspace = true, optional = true }
slight-http-client = { workspace = true, optional = true }
anyhow = { workspace = true }
log = { workspace = true }
tokio = { workspace = true }
wit-bindgen-wasmtime = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }
clap = { workspace = true }
as-any = "0.3"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
reqwest = "0.11"
flate2 = "1"
tar = "0.4"
wizer = { git = "https://github.com/bytecodealliance/wizer", rev = "c7e07054d04c27e7f1bfe72e16dae6d73b3f3023"}
[dev-dependencies]
tempfile = { workspace = true }
rand = { workspace = true }
[features]
default = ["blob-store", "keyvalue", "distributed-locking", "messaging", "runtime-configs", "sql", "http-server", "http-client"]
blob-store = ["dep:slight-blob-store"]
keyvalue = ["dep:slight-keyvalue"]
distributed-locking = ["dep:slight-distributed-locking"]
messaging = ["dep:slight-messaging"]
runtime-configs = ["dep:slight-runtime-configs"]
sql = ["dep:slight-sql"]
http-server = ["dep:slight-http-server"]
http-client = ["dep:slight-http-client"]
[workspace.package]
version = "0.5.1"
authors = ["DeisLabs Engineering Team"]
edition = "2021"
license = "MIT"
repository = "https://github.com/deislabs/spiderlightning"
[workspace.dependencies]
slight-blob-store = { path = "./crates/blob-store" }
slight-core = { path = "./crates/core" }
slight-file = { path = "./crates/slightfile" }
slight-runtime = { path = "./crates/runtime" }
slight-keyvalue = { path = "./crates/keyvalue" }
slight-distributed-locking = { path = "./crates/distributed-locking" }
slight-messaging = { path = "./crates/messaging" }
slight-runtime-configs = { path = "./crates/runtime-configs" }
slight-common = { path = "./crates/common" }
slight-sql = { path = "./crates/sql" }
slight-http-server = { path = "./crates/http-server" }
slight-http-client = { path = "./crates/http-client" }
slight-http-api = { path = "./crates/http-api" }
wit-bindgen-wasmtime = { git = "https://github.com/fermyon/wit-bindgen-backport", features = ["async"] }
wit-error-rs = { git = "https://github.com/danbugs/wit-error-rs", rev = "05362f1a4a3a9dc6a1de39195e06d2d5d6491a5e" }
wasmtime = "10"
wasmtime-wasi = "10"
wasi-common = "10"
wasi-cap-std-sync = "10"
anyhow = "1"
async-trait = "0.1"
tokio = { version = "1", features = ["full"] }
tracing = { version = "0.1", features = ["log"] }
toml = "0.7"
tempfile = "3.5"
log = { version = "0.4", default-features = false }
env_logger = "0.10"
as-any = "0.3"
serde = { version = "1", features = ["derive"] }
hyper = "0.14"
url = "2.2"
semver = "1"
clap = { version = "4", features = ["derive"] }
rand = "0.8"
[workspace]
members = [
"crates/core",
"crates/common",
"crates/http-server-macro",
"crates/http-handler-macro",
"tests"
]