[package]
edition = "2024"
rust-version = "1.88"
name = "zanolib"
version = "0.2.0"
build = false
include = [
"/src",
"/tests",
"/Cargo.toml",
"/README.md",
"/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zano wallet library: address handling, transaction parsing/signing, deposit scanning and threshold (MPC) signing."
readme = "README.md"
keywords = [
"zano",
"cryptonote",
"wallet",
"cryptography",
]
categories = ["cryptography::cryptocurrencies"]
license = "MIT"
repository = "https://github.com/KarpelesLab/zanolib"
[features]
default = [
"rpc",
"mpc",
]
mpc = ["dep:tsslib"]
rpc = [
"dep:rsurl",
"dep:base64",
]
[lib]
name = "zanolib"
path = "src/lib.rs"
[[test]]
name = "crypto_vectors"
path = "tests/crypto_vectors.rs"
[[test]]
name = "mpc"
path = "tests/mpc.rs"
[[test]]
name = "onchain"
path = "tests/onchain.rs"
[[test]]
name = "sign_scan"
path = "tests/sign_scan.rs"
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.purecrypto]
version = "0.6.28"
features = [
"std",
"hash",
"cipher",
"rng",
"hazmat-edwards25519",
]
[dependencies.rsurl]
version = "0.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dependencies.tsslib]
version = "0.2.7"
features = ["frosttss"]
optional = true
default-features = false
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.purecrypto]
version = "0.6.28"
features = [
"std",
"hash",
]