-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
81 lines (71 loc) · 2.9 KB
/
Copy pathCargo.toml
File metadata and controls
81 lines (71 loc) · 2.9 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
[package]
name = "dodex-sdk"
version.workspace = true
edition.workspace = true
# Own workspace root, deliberately excluded from the repo-root workspace
# (see root `Cargo.toml` `exclude`). The halo2 proof pipeline pulls a heavy,
# distinct zk/halo2 dependency graph; keeping it in its own workspace leaves
# the root `cargo --workspace` resolve light. All git sources are public over
# HTTPS — no SSH key required.
[workspace]
[workspace.package]
version = "0.1.0"
edition = "2024"
[workspace.dependencies]
hex = "0.4.3"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[[bin]]
name = "mint_pn_pool"
path = "src/bin/mint_pn_pool.rs"
required-features = ["default"]
[[bin]]
name = "deploy_oracle"
path = "src/bin/deploy_oracle.rs"
required-features = ["default"]
[features]
default = ["ackinacki-kit/default", "ackinacki-kit/contracts"]
wasm = [
"dep:wasm-bindgen",
"dep:serde-wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:console_error_panic_hook",
"dep:js-sys",
"dep:gloo-timers",
"ackinacki-kit/wasm",
"ackinacki-kit/contracts",
]
single-wasm = ["wasm"]
[dependencies]
ackinacki-kit = { git = "https://github.com/gosh-sh/ackinacki-kit.git", branch = "feature/update_dex", default-features = false }
base64 = "0.22.1"
hex = { workspace = true }
num-bigint = "0.4"
num-traits = "0.2.19"
parking_lot = "0.12"
pbkdf2 = { version = "0.12.2", features = ["simple"] }
reqwest = { version = "0.12", default-features = false }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = "0.10"
tokio = { version = "1", default-features = false, features = ["rt", "time"] }
tracing = "0.1"
url = "2"
# Layered halo2 voucher pipeline (witness export -> prover -> public-input
# decode). See src/services/halo2.
halo2-proover = { git = "https://github.com/gosh-sh/dexdo-halo2-kit", branch = "main" }
dark_dex_halo2_private_witness_export_lib = { git = "https://github.com/gosh-sh/dexdo-halo2-kit", branch = "main" }
gosh-dark-dex-halo2-new-circuit = { git = "https://github.com/gosh-sh/dexdo-halo2-kit", branch = "main", package = "dex-halo2-circuit" }
halo2-base = { git = "https://github.com/gosh-sh/halo2-lib-zkevm-sha256-and-bls12-381", branch = "main", default-features = false, features = ["halo2-axiom", "test-utils"] }
console_error_panic_hook = { optional = true, version = "0.1.7" }
gloo-timers = { optional = true, version = "0.3.0", features = ["futures"] }
js-sys = { optional = true, version = "0.3.83" }
serde-wasm-bindgen = { optional = true, version = "0.6.5" }
wasm-bindgen = { optional = true, version = "0.2.106", features = ["serde-serialize"] }
wasm-bindgen-futures = { optional = true, version = "0.4.56" }
[dev-dependencies]
ackinacki-kit = { git = "https://github.com/gosh-sh/ackinacki-kit.git", branch = "feature/update_dex", features = ["default", "contracts"] }
hex = "0.4.3"
num-bigint = "0.4"
sha2 = "0.10"
tokio = { version = "1.49.0", features = ["rt", "macros", "time"] }