prns-core 0.3.4

Pure Reticulum engine and wire contract for Personal Reticulum
# 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.90"
name = "prns-core"
version = "0.3.4"
build = false
include = [
    "src/**",
    "tests/**",
    "!tests/**/__pycache__/**",
    "!tests/**/*.pyc",
    "examples/**",
    "Cargo.toml",
    "README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Reticulum engine and wire contract for Personal Reticulum"
homepage = "https://reticulum.rs"
documentation = "https://docs.rs/prns-core"
readme = "README.md"
keywords = [
    "reticulum",
    "mesh",
    "networking",
    "no-std",
    "embedded",
]
categories = [
    "network-programming",
    "embedded",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/KenAKAFrosty/Prns"
resolver = "3"

[package.metadata.docs.rs]
all-features = true

[features]
_keyring-vault = [
    "std",
    "dep:keyring",
    "keyring/crypto-rust",
    "keyring/apple-native",
    "keyring/windows-native",
]
alloc = ["zeroize/alloc"]
default = [
    "std",
    "std-sync-host",
]
embassy-host = []
external-alloc = [
    "alloc",
    "dep:allocator-api2",
]
flash = [
    "dep:embedded-storage",
    "dep:embedded-storage-async",
]
i2p = [
    "alloc",
    "dep:base64",
    "dep:data-encoding",
]
interface-discovery = [
    "alloc",
    "dep:rmp",
]
interface-discovery-archive = [
    "interface-discovery",
    "std",
    "dep:serde",
    "dep:serde_json",
]
keyring-libdbus = [
    "_keyring-vault",
    "keyring/sync-secret-service",
]
keyring-zbus = [
    "_keyring-vault",
    "keyring/async-secret-service",
    "keyring/async-io",
]
large-static-responses = []
parallel-persistence = [
    "std",
    "dep:rayon",
]
parallel-resource-hash = [
    "std",
    "dep:rayon",
]
rnx = [
    "alloc",
    "dep:rmp",
]
runtime-metrics = ["alloc"]
shared-instance-rpc = [
    "alloc",
    "dep:md-5",
    "dep:rmp",
]
signed-artifact = [
    "alloc",
    "dep:rmp",
]
std = [
    "alloc",
    "dep:roaring",
    "dep:crc32fast",
]
std-sync-host = ["std"]
stream-compression = ["std"]
test-support = ["std"]
tokio-host = ["std"]

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

[dependencies.aes]
version = "0.8"
default-features = false

[dependencies.allocator-api2]
version = "0.3"
features = ["alloc"]
optional = true
default-features = false

[dependencies.base64]
version = "0.22"
features = ["alloc"]
optional = true
default-features = false

[dependencies.cbc]
version = "0.1"
features = ["block-padding"]
default-features = false

[dependencies.cfg-if]
version = "1.0"

[dependencies.crc32fast]
version = "1"
optional = true

[dependencies.data-encoding]
version = "2"
features = ["alloc"]
optional = true
default-features = false

[dependencies.ed25519-dalek]
version = "2"
features = [
    "zeroize",
    "fast",
]
default-features = false

[dependencies.embedded-storage]
version = "0.3"
optional = true
default-features = false

[dependencies.embedded-storage-async]
version = "0.4"
optional = true
default-features = false

[dependencies.heapless]
version = "0.8"
default-features = false

[dependencies.hkdf]
version = "0.13"
default-features = false

[dependencies.hmac]
version = "0.13"
default-features = false

[dependencies.keyring]
version = "3"
optional = true
default-features = false

[dependencies.md-5]
version = "0.11"
optional = true
default-features = false

[dependencies.rayon]
version = "1"
optional = true

[dependencies.rmp]
version = "0.8"
optional = true
default-features = false

[dependencies.roaring]
version = "=0.11.4"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.sha2]
version = "0.11"
default-features = false

[dependencies.x25519-dalek]
version = "2"
features = [
    "precomputed-tables",
    "static_secrets",
]
default-features = false

[dependencies.zeroize]
version = "1"
features = ["derive"]
default-features = false

[dev-dependencies.embassy-futures]
version = "0.1"

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

[dev-dependencies.rmpv]
version = "1.3"

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

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
significant_drop_in_scrutinee = "warn"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(kani)",
    "cfg(mutants)",
]