beaconcrypt 0.6.0

Cryptographic transport for C2 channels
# 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 = "2024"
rust-version = "1.96"
name = "beaconcrypt"
version = "0.6.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic transport for C2 channels"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/0xd6cb6d73/beaconcrypt"

[package.metadata.maturin]
name = "beaconcrypt"
bindings = "pyo3"

[features]
all = [
    "gobinds",
    "pybinds",
    "cbinds",
]
beacon = ["pqxdh"]
cbinds = [
    "beacon",
    "server",
    "pqxdh",
]
default = [
    "beacon",
    "server",
    "pqxdh",
]
gobinds = ["cbinds"]
pqxdh = []
pybinds = [
    "dep:pyo3",
    "beacon",
    "server",
    "pqxdh",
]
server = [
    "pqxdh",
    "dep:serde",
    "dep:serde_json",
]

[lib]
name = "beaconcrypt"
crate-type = [
    "cdylib",
    "staticlib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "rust"
path = "examples/rust/main.rs"
required-features = [
    "pqxdh",
    "beacon",
    "server",
]

[[test]]
name = "beacon"
path = "tests/beacon.rs"
required-features = [
    "pqxdh",
    "beacon",
    "server",
]

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

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

[[test]]
name = "protocol"
path = "tests/protocol.rs"
required-features = [
    "pqxdh",
    "beacon",
    "server",
]

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

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

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

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

[[test]]
name = "rooterberg"
path = "tests/rooterberg.rs"
required-features = ["pqxdh"]

[[test]]
name = "server"
path = "tests/server.rs"
required-features = [
    "pqxdh",
    "beacon",
    "server",
]

[[test]]
name = "wycheproof"
path = "tests/wycheproof.rs"
required-features = ["pqxdh"]

[dependencies.beaconcrypt-core]
version = "0.1.1"

[dependencies.beaconcrypt-parse]
version = "0.1.0"

[dependencies.libsodium-rs]
version = "=0.3.0"

[dependencies.pyo3]
version = "0.30.1"
features = [
    "abi3-py311",
    "experimental-inspect",
]
optional = true

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

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

[dependencies.zeroize]
version = "1.9"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

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

[build-dependencies.cbindgen]
version = "0.29"