-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
119 lines (102 loc) · 3.04 KB
/
Cargo.toml
File metadata and controls
119 lines (102 loc) · 3.04 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
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
109
110
111
112
113
114
115
116
117
118
119
[workspace]
members = [".", "api", "cli", "callreq", "persistence/fs"]
default-members = [".", "api", "callreq", "persistence/fs"]
resolver = "2"
[workspace.package]
version = "0.12.0"
authors = ["Dr Maxim Orlovsky <orlovsky@ubideco.org>"]
repository = "https://github.com/AluVM/sonare"
homepage = "https://ubideco.org/SONARE"
keywords = ["state-machines", "distributed-systems", "decentralized", "partially-replicated", "runtime-environment"]
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.82.0" # Due to precise capturing with `use`
[workspace.dependencies]
amplify = "~4.9.0"
strict_encoding = "~2.9.1"
strict_types = "~2.9.0"
commit_verify = "0.12.0"
aluvm = "0.12.0"
ultrasonic = "0.12.0"
sonic-api = { version = "0.12.0", path = "api" }
sonic-callreq = { version = "0.12.0", path = "callreq" }
sonic-persist-fs = { version = "0.12.0", path = "persistence/fs" }
hypersonic = { version = "0.12.0", path = "." }
aora = ">=0.6.4"
binfile = "0.2.0"
baid64 = "0.4.1"
indexmap = "2.9.0"
chrono = "0.4.38"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.34"
toml = "0.8.22"
[package]
name = "hypersonic"
version.workspace = true
authors.workspace = true
description = "Formally-verifiable distributed software"
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories = ["algorithms", "cryptography", "science", "compilers"]
readme.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
exclude = [".github"]
[[bin]]
name = "sonic-stl"
required-features = ["stl", "vesper"]
[lib]
name = "hypersonic"
[[example]]
name = "dao"
[[test]]
name = "dao"
[[test]]
name = "reorgs"
[dependencies]
amplify = { workspace = true }
strict_encoding.workspace = true
strict_types.workspace = true
commit_verify.workspace = true
aluvm.workspace = true
ultrasonic.workspace = true
sonic-api.workspace = true
sonic-callreq.workspace = true
binfile = { workspace = true, optional = true }
indexmap.workspace = true
serde = { workspace = true, optional = true }
[dev-dependencies]
sonix = { path = "./cli" }
sonic-persist-fs.workspace = true
rand = "0.9.1"
petgraph = "0.8.1"
[features]
default = ["std"]
all = ["stl", "vesper", "binfile", "std", "serde"]
binfile = ["sonic-api/binfile", "dep:binfile"]
std = ["sonic-api/std", "sonic-callreq/std"]
vesper = ["ultrasonic/vesper"]
stl = ["commit_verify/stl", "ultrasonic/stl", "strict_types/armor"]
serde = [
"dep:serde",
"amplify/serde",
"strict_encoding/serde",
"commit_verify/serde",
"ultrasonic/serde",
"sonic-api/serde",
"sonic-callreq/serde",
]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.9.1", optional = true }
getrandom = { version = "0.3", features = ["wasm_js"] }
getrandom2 = { package = "getrandom", version = "0.2", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[package.metadata.docs.rs]
features = ["all"]
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(coverage_nightly)'] }