2023-08-25 09:27:16 +00:00
|
|
|
[package]
|
|
|
|
name = "keyfork-derive-util"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
2023-09-01 04:10:56 +00:00
|
|
|
[features]
|
2023-09-06 15:21:47 +00:00
|
|
|
default = ["secp256k1", "ed25519"]
|
2023-09-01 04:10:56 +00:00
|
|
|
secp256k1 = ["k256"]
|
2023-09-06 15:21:47 +00:00
|
|
|
ed25519 = ["ed25519-dalek"]
|
2023-09-01 04:10:56 +00:00
|
|
|
|
2023-08-25 09:27:16 +00:00
|
|
|
[dependencies]
|
2023-09-01 04:10:56 +00:00
|
|
|
# Included in Rust
|
|
|
|
digest = "0.10.7"
|
|
|
|
sha2 = "0.10.7"
|
|
|
|
|
|
|
|
# Rust-Crypto ecosystem, not personally audited
|
|
|
|
ripemd = "0.1.3"
|
|
|
|
hmac = { version = "0.12.1", features = ["std"] }
|
|
|
|
|
|
|
|
# Personally audited
|
2023-08-25 09:27:16 +00:00
|
|
|
serde = { version = "1.0.186", features = ["derive"] }
|
2023-09-01 04:10:56 +00:00
|
|
|
thiserror = "1.0.47"
|
|
|
|
|
|
|
|
# Optional, not personally audited
|
|
|
|
k256 = { version = "0.13.1", default-features = false, features = ["std", "arithmetic"], optional = true }
|
2023-09-06 15:21:47 +00:00
|
|
|
ed25519-dalek = { version = "2.0.0", optional = true }
|
2023-09-07 15:06:34 +00:00
|
|
|
keyfork-mnemonic-util = { version = "0.1.0", path = "../keyfork-mnemonic-util" }
|
2023-09-01 04:10:56 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
hex-literal = "0.4.1"
|