[package]
edition = "2021"
name = "ant-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless Rust library for the Autonomi network: data storage and retrieval with self-encryption and EVM payments, plus node lifecycle management."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/WithAutonomi/ant-client"
[features]
default = []
devnet = ["dep:ant-node"]
[lib]
name = "ant_core"
path = "src/lib.rs"
[[example]]
name = "start-local-devnet"
path = "examples/start-local-devnet.rs"
required-features = ["devnet"]
[[test]]
name = "daemon_integration"
path = "tests/daemon_integration.rs"
[[test]]
name = "e2e_bootstrap_cache"
path = "tests/e2e_bootstrap_cache.rs"
[[test]]
name = "e2e_chunk"
path = "tests/e2e_chunk.rs"
[[test]]
name = "e2e_cost_estimate"
path = "tests/e2e_cost_estimate.rs"
[[test]]
name = "e2e_data"
path = "tests/e2e_data.rs"
[[test]]
name = "e2e_file"
path = "tests/e2e_file.rs"
[[test]]
name = "e2e_huge_file"
path = "tests/e2e_huge_file.rs"
[[test]]
name = "e2e_merkle"
path = "tests/e2e_merkle.rs"
[[test]]
name = "e2e_payment"
path = "tests/e2e_payment.rs"
[[test]]
name = "e2e_security"
path = "tests/e2e_security.rs"
[[test]]
name = "e2e_upload_costs"
path = "tests/e2e_upload_costs.rs"
[[test]]
name = "merkle_unit"
path = "tests/merkle_unit.rs"
[[test]]
name = "node_add_integration"
path = "tests/node_add_integration.rs"
[[test]]
name = "unit_self_encrypt"
path = "tests/unit_self_encrypt.rs"
[dependencies.ant-node]
version = "0.11.0"
optional = true
[dependencies.ant-protocol]
version = "2.0.1"
[dependencies.async-stream]
version = "0.3"
[dependencies.axum]
version = "0.8"
[dependencies.bytes]
version = "1"
[dependencies.flate2]
version = "1"
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.lru]
version = "0.16"
[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
[dependencies.rmp-serde]
version = "1"
[dependencies.self-replace]
version = "1"
[dependencies.self_encryption]
version = "0.35.0"
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sysinfo]
version = "0.32"
features = ["system"]
default-features = false
[dependencies.tar]
version = "0.4"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.toml]
version = "0.8"
[dependencies.tower-http]
version = "0.6.8"
features = ["cors"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.utoipa]
version = "5"
features = ["axum_extras"]
[dependencies.xor_name]
version = "5"
[dependencies.zip]
version = "2"
[dev-dependencies.alloy]
version = "1.6"
features = ["node-bindings"]
[dev-dependencies.ant-node]
version = "0.11.0"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.rmp-serde]
version = "1"
[dev-dependencies.saorsa-core]
version = "0.24"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tokio-test]
version = "0.4"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(unix)".dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_System_Console",
"Win32_System_Threading",
]