[package]
edition = "2021"
rust-version = "1.70"
name = "rust-ipns"
version = "0.9.0"
authors = ["Darius Clark"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of IPNS"
readme = "README.md"
keywords = [
"libp2p",
"ipfs",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dariusc93/rust-ipfs"
[features]
default = [
"rsa",
"ed25519",
"secp256k1",
"ecdsa",
]
ecdsa = ["libp2p-identity/ecdsa"]
ed25519 = ["libp2p-identity/ed25519"]
rsa = ["libp2p-identity/rsa"]
secp256k1 = ["libp2p-identity/secp256k1"]
[lib]
name = "rust_ipns"
path = "src/lib.rs"
[[example]]
name = "inspect"
path = "examples/inspect.rs"
[[example]]
name = "record"
path = "examples/record.rs"
[[test]]
name = "kubo_interop"
path = "tests/kubo_interop.rs"
[dependencies.bytes]
version = "1.11.1"
features = ["serde"]
[dependencies.chrono]
version = "0.4.42"
[dependencies.ipld-core]
version = "0.4.1"
features = ["serde"]
[dependencies.libp2p-identity]
version = "0.2.14"
features = [
"peerid",
"rand",
]
[dependencies.multihash]
version = "0.19.3"
[dependencies.quick-protobuf]
version = "0.8.1"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_ipld_dagcbor]
version = "0.6.3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.clap]
version = "4.5.48"
features = [
"derive",
"derive",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4.2"
features = ["wasm_js"]