bip0032 0.1.0

Another Rust implementation of BIP-0032 standard
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "bip0032"
version = "0.1.0"
authors = ["koushiro <koushiro.cqx@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Another Rust implementation of BIP-0032 standard"
homepage = "https://github.com/koushiro/rust-bips"
documentation = "https://docs.rs/bip0032"
readme = "README.md"
keywords = [
    "bip32",
    "slip10",
    "bitcoin",
    "crypto",
]
categories = [
    "cryptography",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/koushiro/rust-bips"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "std",
    "k256",
]
ed25519-dalek = [
    "slip10",
    "dep:ed25519-dalek",
]
k256 = ["k256/arithmetic"]
p256 = [
    "slip10",
    "p256/arithmetic",
]
secp256k1 = ["dep:secp256k1"]
slip10 = []
std = [
    "anyhow/std",
    "bs58/std",
    "hmac/std",
    "ripemd/std",
    "sha2/std",
    "zeroize/std",
    "k256?/std",
    "secp256k1?/std",
    "p256?/std",
    "ed25519-dalek?/std",
]

[lib]
name = "bip0032"
path = "src/lib.rs"

[[test]]
name = "bip32"
path = "tests/bip32.rs"
required-features = ["k256"]

[[test]]
name = "slip10-ed25519"
path = "tests/slip10/ed25519.rs"
required-features = [
    "slip10",
    "ed25519-dalek",
]

[[test]]
name = "slip10-nist256p1"
path = "tests/slip10/nist256p1.rs"
required-features = [
    "slip10",
    "p256",
]

[[test]]
name = "slip10-secp256k1"
path = "tests/slip10/secp256k1.rs"
required-features = [
    "slip10",
    "k256",
]

[dependencies.anyhow]
version = "1.0"
default-features = false

[dependencies.bs58]
version = "0.5"
features = [
    "alloc",
    "check",
]
default-features = false

[dependencies.ed25519-dalek]
version = "2.2.0"
features = ["alloc"]
optional = true
default-features = false

[dependencies.hmac]
version = "0.12"
default-features = false

[dependencies.k256]
version = "0.13"
features = ["alloc"]
optional = true
default-features = false

[dependencies.p256]
version = "0.13"
features = ["alloc"]
optional = true
default-features = false

[dependencies.ripemd]
version = "0.1"
default-features = false

[dependencies.secp256k1]
version = "0.31"
features = ["alloc"]
optional = true
default-features = false

[dependencies.sha2]
version = "0.10"
default-features = false

[dependencies.zeroize]
version = "1.8"
default-features = false

[dev-dependencies.const-hex]
version = "1.12.0"