34 lines
729 B
TOML
34 lines
729 B
TOML
[package]
|
|
name = "chidori-pow"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
crate-type = ["rlib", "cdylib"]
|
|
|
|
[[bin]]
|
|
name = "bench"
|
|
path = "src/bin/bench.rs"
|
|
required-features = ["native-bin"]
|
|
|
|
[features]
|
|
native-bin = []
|
|
|
|
[dependencies]
|
|
num-traits = "0.2"
|
|
num-integer = "0.1.46"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
bincode = "1.3"
|
|
cfg-if = "1.0.4"
|
|
base64 = "0.22.1"
|
|
wasm-bindgen = "0.2"
|
|
sha2 = "0.10"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
num-bigint = { version = "0.4", features = ["serde"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
num-bigint = { version="0.4", features = ["rand", "serde"] }
|
|
rand = "0.10"
|
|
ed25519-dalek = { version = "2.2.0", features = ["std", "rand_core"] }
|