# 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 = "aingle_minimal"
version = "0.3.7"
authors = ["Apilium Technologies <hello@apilium.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ultra-light AIngle node for IoT devices (<1MB RAM)"
homepage = "https://apilium.com"
documentation = "https://docs.rs/aingle_minimal"
readme = "README.md"
keywords = [
    "aingle",
    "iot",
    "dag",
    "embedded",
]
categories = [
    "embedded",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/ApiliumCode/aingle"

[features]
ai_memory = ["titans_memory"]
ble = [
    "dep:btleplug",
    "dep:uuid",
]
ble-esp32 = ["dep:esp32-nimble"]
coap = ["dep:coap-lite"]
default = [
    "std",
    "coap",
    "sqlite",
]
embedded = [
    "dep:embedded-hal",
    "dep:embedded-hal-async",
]
hw_wallet = [
    "dep:ledger-transport",
    "dep:ledger-transport-hid",
]
lora = []
mdns = [
    "dep:mdns-sd",
    "dep:if-addrs",
]
mesh = []
minimal_crypto = []
no_std = []
quic = [
    "dep:quinn",
    "dep:rustls",
    "dep:rcgen",
]
rest = ["dep:tiny_http"]
rocksdb = ["dep:rocksdb"]
smart_agents = ["hope_agents"]
sqlite = ["dep:rusqlite"]
std = []
webrtc = [
    "dep:webrtc",
    "dep:bytes",
    "dep:async-tungstenite",
    "dep:futures-util",
]
wifi_direct = []

[lib]
name = "aingle_minimal"
path = "src/lib.rs"

[[bin]]
name = "aingle-minimal"
path = "src/main.rs"

[[test]]
name = "e2e_multi_node_tests"
path = "tests/e2e_multi_node_tests.rs"

[[test]]
name = "iot_integration_tests"
path = "tests/iot_integration_tests.rs"

[[test]]
name = "p2p_network_tests"
path = "tests/p2p_network_tests.rs"

[[test]]
name = "smart_node_integration_tests"
path = "tests/smart_node_integration_tests.rs"

[[test]]
name = "transport_integration_tests"
path = "tests/transport_integration_tests.rs"

[[bench]]
name = "node_bench"
path = "benches/node_bench.rs"
harness = false

[dependencies.async-io]
version = "2.3"

[dependencies.async-tungstenite]
version = "0.27"
features = ["async-std-runtime"]
optional = true

[dependencies.blake3]
version = "1.8"
features = ["std"]
default-features = false

[dependencies.btleplug]
version = "0.11"
optional = true

[dependencies.bytes]
version = "1.11"
optional = true

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.coap-lite]
version = "0.13"
optional = true

[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]

[dependencies.embedded-hal]
version = "1.0"
optional = true

[dependencies.embedded-hal-async]
version = "1.0"
optional = true

[dependencies.env_logger]
version = "0.11"

[dependencies.esp32-nimble]
version = "0.8"
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["sink"]
optional = true
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.hope_agents]
version = "0.3"
optional = true

[dependencies.if-addrs]
version = "0.13"
optional = true

[dependencies.ledger-transport]
version = "0.11"
optional = true

[dependencies.ledger-transport-hid]
version = "0.11"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.mdns-sd]
version = "0.18"
optional = true

[dependencies.quinn]
version = "0.11"
optional = true

[dependencies.rand]
version = "0.9"
features = [
    "std",
    "thread_rng",
]
default-features = false

[dependencies.rcgen]
version = "0.13"
optional = true

[dependencies.rocksdb]
version = "0.24"
optional = true

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

[dependencies.semver]
version = "1.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.smol]
version = "2.0"

[dependencies.tiny_http]
version = "0.12"
optional = true

[dependencies.titans_memory]
version = "0.3"
optional = true

[dependencies.uuid]
version = "1.21"
optional = true

[dependencies.webrtc]
version = "0.17"
optional = true

[dev-dependencies.criterion]
version = "0.5"
