Use new algorithm

Signed-off-by: Rin Cat (鈴猫) <rincat@rincat.dev>
This commit is contained in:
2026-05-05 09:42:17 +09:00
parent 4b71ad4d75
commit c2a8d77a12
8 changed files with 1297 additions and 345 deletions

View File

@@ -1,24 +1,33 @@
[package]
name = "chidori-pow"
version = "0.1.0"
edition = "2021"
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_json = "1.0"
serde = { version = "1.0.217", features = ["derive"] }
cfg-if = "1.0.0"
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.8"
ed25519-dalek = { version = "2.1.1", features = ["std", "rand_core"] }
rand = "0.10"
ed25519-dalek = { version = "2.2.0", features = ["std", "rand_core"] }