# 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.75"
name = "cleitonq"
version = "0.1.0"
authors = ["Cleiton Augusto Correa Bezerra <augusto.cleiton@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Post-quantum authenticated command & control for embedded and autonomous systems"
homepage = "https://github.com/cleitonaugusto/CleitonQ"
documentation = "https://docs.rs/cleitonq"
readme = "README.md"
keywords = [
    "post-quantum",
    "cryptography",
    "embedded",
    "mavlink",
    "security",
]
categories = [
    "cryptography",
    "embedded",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/cleitonaugusto/CleitonQ"

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

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

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

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

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

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

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

[dependencies.hmac]
version = "0.12"

[dependencies.ml-dsa]
version = "0.1"
features = ["rand_core"]

[dependencies.ml-kem]
version = "0.3"
features = ["getrandom"]

[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]

[dependencies.sha3]
version = "0.10"

[dependencies.zeroize]
version = "1.7"
features = ["derive"]

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

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

[dev-dependencies.mavlink]
version = "0.18"
features = [
    "std",
    "dialect-common",
]
default-features = false

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
