-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
44 lines (34 loc) · 1.39 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
[package]
name = "rust-nebula"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
features = ["graph", "meta", "storage"]
[features]
default = ["graph", "storage", "meta"]
graph = ["nebula-fbthrift-graph-v3", "serde"]
meta = ["nebula-fbthrift-meta-v3"]
storage = ["nebula-fbthrift-storage-v3", "meta", "serde"]
show_struct_result = []
[dependencies]
fbthrift = { package = "fbthrift-git", version = "=0.0.7", default-features = false }
fbthrift-transport = { version = "0.9", features = ["impl_tokio"] }
fbthrift-transport-response-handler = { version = "0.7" }
serde = { version = "1", default-features = false, features = [
"derive",
], optional = true }
bytes = { version = "1", default-features = false }
async-trait = { version = "0.1", default-features = false }
nebula-fbthrift-graph-v3 = { version = "^0.3", default-features = false, optional = true }
nebula-fbthrift-meta-v3 = { version = "^0.3", default-features = false, optional = true }
nebula-fbthrift-storage-v3 = { version = "^0.3", default-features = false, optional = true }
bb8 = "0.8.5"
[dev-dependencies]
chrono = { version = "0.4", features = ["serde"] }
serde_repr = { version = "0.1" }
float-cmp = { version = "0.9" }
[package.metadata.cargo-all-features]
skip_optional_dependencies = true
[workspace]
members = ["examples"]