[package]
edition = "2021"
rust-version = "1.63.0"
name = "anya-core"
version = "1.2.0"
authors = ["botshelomokoka@gmail.com"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Enterprise-grade Bitcoin Infrastructure Platform"
readme = "README.md"
keywords = [
"bitcoin",
"cryptocurrency",
"blockchain",
"enterprise",
"hexagonal",
]
categories = [
"api-bindings",
"cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/anya-org/anya-core"
[features]
bitcoin_integration = []
chaos-viz = []
complete = []
default = [
"std",
"rust-bitcoin",
]
hsm = []
memory_tracking = []
rsk = []
rust-bitcoin = ["bitcoin"]
std = []
system-alignment = [
"bitcoin_integration",
"hsm",
]
web5 = []
[lib]
name = "anya_core"
path = "src/lib.rs"
[[bin]]
name = "anya-core"
path = "src/main.rs"
[[bin]]
name = "anya_installer"
path = "src/bin/anya_installer.rs"
[[bin]]
name = "anya_validator"
path = "src/bin/anya_validator.rs"
[[bin]]
name = "bip_health"
path = "src/bin/bip_health.rs"
[[bin]]
name = "lightning_demo"
path = "src/bin/lightning_demo.rs"
[[bin]]
name = "verify_bip_modules"
path = "src/bin/verify_bip_modules.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "complete_integration"
path = "examples/complete_integration.rs"
[[example]]
name = "complex_tree"
path = "examples/complex_tree.rs"
[[example]]
name = "hardware_optimization_demo"
path = "examples/hardware_optimization_demo.rs"
[[example]]
name = "identity_integration"
path = "examples/identity_integration.rs"
[[example]]
name = "multisig_taproot"
path = "examples/multisig_taproot.rs"
[[example]]
name = "nostr_example"
path = "examples/nostr_example.rs"
[[example]]
name = "simple_taproot"
path = "examples/simple_taproot.rs"
[[test]]
name = "bip380_psbt_extension"
path = "tests/bip380_psbt_extension.rs"
[[test]]
name = "bitcoin_tests"
path = "tests/bitcoin_tests.rs"
[[test]]
name = "core"
path = "tests/core.rs"
[[test]]
name = "create_simple_test"
path = "tests/create_simple_test.rs"
[[test]]
name = "doc_tests"
path = "tests/doc_tests.rs"
[[test]]
name = "enterprise_cluster"
path = "tests/enterprise_cluster.rs"
[[test]]
name = "full_system_integration"
path = "tests/full_system_integration.rs"
[[test]]
name = "hsm_integration"
path = "tests/hsm_integration.rs"
[[test]]
name = "infrastructure_auto_run"
path = "tests/infrastructure_auto_run.rs"
[[test]]
name = "installation_modes"
path = "tests/installation_modes.rs"
[[test]]
name = "installer"
path = "tests/installer.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "issuance_tests"
path = "tests/issuance_tests.rs"
[[test]]
name = "layer2"
path = "tests/layer2.rs"
[[test]]
name = "layer2_integration_comprehensive"
path = "tests/layer2_integration_comprehensive.rs"
[[test]]
name = "layer2_integration_comprehensive_fixed"
path = "tests/layer2_integration_comprehensive_fixed.rs"
[[test]]
name = "layer2_integration_comprehensive_fixed_new"
path = "tests/layer2_integration_comprehensive_fixed_new.rs"
[[test]]
name = "layer2_integration_simple"
path = "tests/layer2_integration_simple.rs"
[[test]]
name = "layer2_integration_test"
path = "tests/layer2_integration_test.rs"
[[test]]
name = "layer2_manager_async_tests"
path = "tests/layer2_manager_async_tests.rs"
[[test]]
name = "layer2_performance_benchmarks"
path = "tests/layer2_performance_benchmarks.rs"
[[test]]
name = "layer2_real_world_tests"
path = "tests/layer2_real_world_tests.rs"
[[test]]
name = "lib"
path = "tests/lib.rs"
[[test]]
name = "ml_operations_test"
path = "tests/ml_operations_test.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "network_validation"
path = "tests/network_validation.rs"
[[test]]
name = "network_viz"
path = "tests/network_viz.rs"
[[test]]
name = "performance_framework_integration"
path = "tests/performance_framework_integration.rs"
[[test]]
name = "psbt_v2_bip370"
path = "tests/psbt_v2_bip370.rs"
[[test]]
name = "rgb_asset_test"
path = "tests/rgb_asset_test.rs"
[[test]]
name = "run_protocol_tests"
path = "tests/run_protocol_tests.rs"
[[test]]
name = "sectional_test_utils"
path = "tests/sectional_test_utils.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "simple_rgb_test"
path = "tests/simple_rgb_test.rs"
[[test]]
name = "simplified_integration"
path = "tests/simplified_integration.rs"
[[test]]
name = "standalone_test"
path = "tests/standalone_test.rs"
[[test]]
name = "test_utilities"
path = "tests/test_utilities.rs"
[[test]]
name = "test_utils"
path = "tests/test_utils.rs"
[[test]]
name = "web5_anchoring_test"
path = "tests/web5_anchoring_test.rs"
[[test]]
name = "web5_integration"
path = "tests/web5_integration.rs"
[[bench]]
name = "enterprise_benchmarks"
path = "benches/enterprise_benchmarks/main.rs"
[dependencies.aes-gcm]
version = "0.10.3"
[dependencies.anyhow]
version = "1.0.98"
features = [
"std",
"backtrace",
]
[dependencies.argon2]
version = "0.5.3"
[dependencies.async-trait]
version = "0.1.88"
[dependencies.axum]
version = "=0.8.4"
[dependencies.base64]
version = "=0.22.1"
[dependencies.bdk]
version = "0.28.1"
features = [
"all-keys",
"key-value-db",
]
[dependencies.bip39]
version = "2.0"
features = ["std"]
[dependencies.bitcoin]
version = "0.32"
features = [
"std",
"serde",
"rand",
"secp-recovery",
"base64",
"rand-std",
]
optional = true
[dependencies.bitcoincore-rpc]
version = "0.19"
features = ["default"]
[dependencies.blake3]
version = "1.8.2"
[dependencies.chacha20poly1305]
version = "0.10.1"
[dependencies.chrono]
version = "0.4.41"
features = [
"serde",
"std",
]
[dependencies.clap]
version = "=4.5.39"
features = [
"derive",
"env",
"color",
]
[dependencies.clarinet-utils]
version = "1.0.0"
[dependencies.criterion]
version = "0.6.0"
[dependencies.dashmap]
version = "6.1.0"
features = ["serde"]
[dependencies.dialoguer]
version = "0.11"
[dependencies.futures]
version = "0.3.31"
[dependencies.geiger]
version = "0.5.0"
[dependencies.getrandom]
version = "=0.3.3"
features = ["std"]
[dependencies.hex]
version = "0.4"
[dependencies.hickory-resolver]
version = "0.24.0"
[dependencies.hmac]
version = "0.12.1"
[dependencies.humantime-serde]
version = "=1.1.1"
[dependencies.hyper]
version = "=1.6.0"
features = ["full"]
[dependencies.ipfs-api-backend-hyper]
version = "0.6"
features = ["with-builder"]
[dependencies.ipfs-embed]
version = "0.26.1"
default-features = true
[dependencies.jsonwebtoken]
version = "=9.3.1"
features = ["use_pem"]
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.libc]
version = "0.2"
[dependencies.libp2p]
version = "0.56.0"
features = [
"kad",
"mdns",
"noise",
"tcp",
"websocket",
"yamux",
]
[dependencies.log]
version = "0.4"
[dependencies.lru]
version = "0.12"
[dependencies.maplit]
version = "1.0"
[dependencies.miniscript]
version = "=12.3.0"
features = [
"std",
"compiler",
]
[dependencies.mockall]
version = "=0.13.1"
[dependencies.multibase]
version = "=0.9.1"
features = ["std"]
[dependencies.multihash]
version = "=0.19.3"
features = ["std"]
[dependencies.once_cell]
version = "1.21.3"
[dependencies.rand]
version = "0.8.5"
features = [
"std",
"std_rng",
]
[dependencies.rand_distr]
version = "0.4"
[dependencies.rayon]
version = "1.10.0"
[dependencies.regex]
version = "1.9.6"
[dependencies.reqwest]
version = "0.12.20"
features = ["json"]
[dependencies.ring]
version = "0.17"
[dependencies.secp256k1]
version = "0.29"
features = [
"rand-std",
"global-context",
"recovery",
]
[dependencies.semver]
version = "1.0.26"
[dependencies.serde]
version = "1.0.219"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.140"
features = [
"std",
"preserve_order",
]
[dependencies.sha2]
version = "0.10.9"
[dependencies.syn]
version = "2.0.101"
features = [
"parsing",
"full",
]
[dependencies.sysinfo]
version = "0.32"
[dependencies.thiserror]
version = "2.0.12"
features = ["std"]
[dependencies.tokio]
version = "=1.45.1"
features = ["full"]
[dependencies.toml]
version = "0.8.23"
features = ["preserve_order"]
[dependencies.tower]
version = "=0.5.2"
[dependencies.tower-http]
version = "=0.6.6"
features = [
"cors",
"trace",
]
[dependencies.tracing]
version = "0.1.41"
features = [
"std",
"attributes",
]
[dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"env-filter",
"json",
"fmt",
]
[dependencies.url]
version = "=2.5.4"
features = ["serde"]
[dependencies.uuid]
version = "1.17.0"
features = [
"v4",
"serde",
"fast-rng",
]
[dependencies.walkdir]
version = "2.5.0"
[dependencies.warp]
version = "0.3"
[dependencies.zeroize]
version = "=1.8.1"
[dev-dependencies.anyhow]
version = "1.0.98"
features = [
"std",
"backtrace",
]
[dev-dependencies.criterion]
version = "0.6.0"
features = [
"html_reports",
"async",
]
[dev-dependencies.did-key]
version = "0.2.1"
[dev-dependencies.lightning]
version = "0.0.118"
features = ["std"]
[dev-dependencies.lightning-invoice]
version = "0.29.0"
[dev-dependencies.mockall]
version = "=0.13.1"
[dev-dependencies.tempfile]
version = "3.20.0"
[dev-dependencies.tokio-test]
version = "=0.4.4"
[dev-dependencies.tower-test]
version = "=0.4.0"
[dev-dependencies.uuid]
version = "1.17.0"
features = ["v4"]