webylib 0.3.4

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
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 = "2021"
rust-version = "1.85"
name = "webylib"
version = "0.3.4"
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",
    "dep:dirs-next",
]
default = [
    "native",
    "cli",
]
ffi = []
native = [
    "dep:tokio",
    "dep:rusqlite",
    "dep:reqwest",
    "reqwest?/rustls-tls",
    "dep:keyring",
    "bundled-sqlite",
]
passkey = []
wasm = [
    "dep:reqwest",
    "getrandom/js",
    "getrandom_0_3/wasm_js",
    "uuid/js",
]

[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.dirs-next]
version = "2"
optional = true

[dependencies.getrandom]
version = "0.2"

[dependencies.getrandom_0_3]
version = "0.3"
package = "getrandom"

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.hmac]
version = "0.12"

[dependencies.keyring]
version = "3"
features = [
    "apple-native",
    "linux-native",
    "windows-native",
]
optional = true

[dependencies.log]
version = "0.4"

[dependencies.rand]
version = "0.9"

[dependencies.rand_chacha]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
default-features = false

[dependencies.rpassword]
version = "7.3"
optional = true

[dependencies.rusqlite]
version = "0.37.0"
features = ["bundled"]
optional = true

[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"]
optional = true

[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"