macula-rust 0.6.0

Rust SDK for the macula 12 mesh: ML-DSA-87 and LAMPS composite node keys, a post-quantum QUIC transport — mobile first, not mobile-only.
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.89"
name = "macula-rust"
version = "0.6.0"
authors = ["Macula <raf.lefever@erlef.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the macula 12 mesh: ML-DSA-87 and LAMPS composite node keys, a post-quantum QUIC transport — mobile first, not mobile-only."
homepage = "https://github.com/macula-io/macula-rust"
readme = "README.md"
keywords = [
    "mesh-network",
    "quic",
    "p2p",
    "post-quantum",
    "decentralized",
]
categories = [
    "network-programming",
    "cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/macula-io/macula-rust"

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

[[example]]
name = "content"
path = "examples/content.rs"

[[example]]
name = "cross_verify_sign"
path = "examples/cross_verify_sign.rs"

[[example]]
name = "publish_subscribe"
path = "examples/publish_subscribe.rs"

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "serve"
path = "examples/serve.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aws-lc-rs]
version = "1"

[dependencies.keyring]
version = "4"
features = ["android-native-keyring-store"]

[dependencies.macula-mldsa]
version = "0.3"

[dependencies.macula-pqc]
version = "0.3"

[dependencies.quinn]
version = "0.11"

[dependencies.rustls]
version = "0.23"
features = [
    "logging",
    "std",
]
default-features = false

[dependencies.sha2]
version = "0.11"

[dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.rcgen]
version = "0.14"
features = [
    "pem",
    "ring",
]
default-features = false

[dev-dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
default-features = false

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(target_os = "ios")'.dependencies.apple-native-keyring-store]
version = "1"
features = ["protected"]

[target.'cfg(target_os = "linux")'.dependencies.keyring-core]
version = "1"

[target.'cfg(target_os = "linux")'.dependencies.linux-keyutils-keyring-store]
version = "1"

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = [
    "fs",
    "process",
]

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unsafe_code = "forbid"