-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
56 lines (47 loc) · 1.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
[package]
name = "ultrasonic"
version = "0.12.0-beta.4"
authors = ["Dr Maxim Orlovsky <orlovsky@ubideco.org>"]
description = "Transactional execution layer with capability-based memory access for zk-AluVM"
repository = "https://github.com/AluVM/ultrasonic"
homepage = "https://ubideco.org/UltraSONIC"
keywords = ["state-machines", "distributed-systems", "decentralized"]
categories = ["algorithms", "cryptography", "science"]
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.81.0" # Due to the need for `Error` trait in `core`
exclude = [".github"]
[[bin]]
name = "ultrasonic-stl"
required-features = ["stl"]
[lib]
name = "ultrasonic"
crate-type = ["dylib", "rlib"]
[dependencies]
amplify = { version = "~4.8.0", default-features = false, features = ["derive", "hex"] }
baid64 = { version = "~0.4.1", optional = true }
strict_encoding = { version = "~2.8.1", default-features = false, features = ["derive"] }
strict_types = { version = "~2.8.1", optional = true }
zk-aluvm = "~0.12.0-beta.4"
commit_verify = { version = "~0.12.0-beta.4", features = ["derive"] }
serde = { version = "1", features = ["derive"], optional = true }
[features]
default = ["chf-sha256", "baid64"]
all = ["stl", "baid64", "serde", "chf-sha256"]
chf-sha256 = []
stl = ["strict_types", "commit_verify/stl", "zk-aluvm/stl"]
serde = [
"dep:serde",
"amplify/serde",
"commit_verify/serde",
"zk-aluvm/serde",
]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[package.metadata.docs.rs]
features = ["all"]