-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (57 loc) · 2.01 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (57 loc) · 2.01 KB
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
[package]
name = "mina-node-native"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
anyhow = { workspace = true }
axum = { workspace = true }
bs58 = { workspace = true }
bytes = { workspace = true }
dataloader = { workspace = true }
derive_more = { workspace = true }
getrandom = { workspace = true }
hex = { workspace = true }
jsonpath-rust = { workspace = true }
juniper = { workspace = true }
juniper_axum = { workspace = true }
ledger = { workspace = true }
libp2p-identity = { workspace = true, features = ["peerid"] }
mina-core = { path = "../../core" }
mina-node = { workspace = true, features = ["replay", "openapi"] }
mina-node-common = { path = "../common" }
mina-p2p-messages = { workspace = true }
mina-signer = { workspace = true }
mina-snark = { workspace = true }
mina-vrf = { workspace = true }
nix = { workspace = true, features = ["signal"] }
o1-utils = { workspace = true }
rand = { workspace = true }
rayon = { workspace = true }
redux = { workspace = true, features = ["serializable_callbacks"] }
reqwest = { workspace = true, features = ["blocking", "json"] }
serde = { workspace = true }
serde_json = { workspace = true }
sha3 = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["process", "macros"] }
tower-http = { workspace = true, features = ["cors"] }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
utoipa = { workspace = true }
utoipa-axum = { workspace = true }
utoipa-scalar = { workspace = true, optional = true, features = ["axum"] }
utoipa-swagger-ui = { workspace = true, optional = true }
[features]
default = ["p2p-libp2p", "openapi-uis", "graphiql"]
# P2P
p2p-libp2p = ["mina-node-common/p2p-libp2p"]
p2p-webrtc = ["mina-node-common/p2p-webrtc"]
# API documentation UIs
openapi-uis = ["swagger-ui", "scalar", "stoplight-elements"]
swagger-ui = ["dep:utoipa-swagger-ui"]
scalar = ["dep:utoipa-scalar"]
stoplight-elements = []
graphiql = []