[package]
edition = "2021"
rust-version = "1.85"
name = "webylib"
version = "0.2.2"
authors = ["Webycash Developers"]
build = false
include = [
"src/**/*.rs",
"tests/**/*.rs",
"tests/**/*.txt",
"LICENSE",
"README.md",
"CHANGELOG.md",
"docs/**/*.md",
"include/**/*",
"cbindgen.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Webcash HD wallet library — bearer e-cash with BIP32-style key derivation, SQLite storage, AES-256-GCM encryption, and full C FFI for cross-platform SDKs"
homepage = "https://weby.cash"
documentation = "https://docs.rs/webylib"
readme = "README.md"
keywords = [
"webcash",
"wallet",
"payments",
"bearer-cash",
"hd-wallet",
]
categories = [
"cryptography",
"cryptography::cryptocurrencies",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/webycash/webylib"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bundled-sqlite = ["rusqlite/bundled"]
cli = [
"dep:clap",
"dep:rpassword",
]
default = [
"bundled-sqlite",
"cli",
]
ffi = []
passkey = []
[lib]
name = "webylib"
crate-type = [
"lib",
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[[bin]]
name = "webyc"
path = "src/bin/cli.rs"
required-features = ["cli"]
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "unit_tests"
path = "tests/unit_tests.rs"
[dependencies.aes-gcm]
version = "0.10"
[dependencies.anyhow]
version = "1.0"
[dependencies.argon2]
version = "0.5"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.clap]
version = "4.0"
features = ["derive"]
optional = true
[dependencies.getrandom]
version = "0.2"
[dependencies.hex]
version = "0.4"
[dependencies.hkdf]
version = "0.12"
[dependencies.hmac]
version = "0.12"
[dependencies.log]
version = "0.4"
[dependencies.rand]
version = "0.9"
[dependencies.rand_chacha]
version = "0.9"
[dependencies.reqwest]
version = "0.11"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rpassword]
version = "7.3"
optional = true
[dependencies.rusqlite]
version = "0.37.0"
features = ["bundled"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.0"
features = ["v4"]
[dependencies.zeroize]
version = "1.5"
features = ["derive"]
[dev-dependencies.mockito]
version = "1.7.0"
[dev-dependencies.tempfile]
version = "3.0"