pqc-binary-format 2.0.2

Standardized binary format for post-quantum cryptography encrypted data interchange
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.75"
name = "pqc-binary-format"
version = "2.0.2"
authors = ["Allan <allan@pqcrypta.com>"]
build = false
exclude = [
    ".github/",
    "target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standardized binary format for post-quantum cryptography encrypted data interchange"
homepage = "https://pqcrypta.com"
documentation = "https://docs.rs/pqc-binary-format"
readme = "README.md"
keywords = [
    "cryptography",
    "post-quantum",
    "pqc",
    "encryption",
    "binary-format",
]
categories = [
    "cryptography",
    "encoding",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PQCrypta/pqc-binary-format"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = []
python = ["pyo3"]
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
    "js-sys",
]

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.pyo3]
version = "0.24"
features = ["extension-module"]
optional = true

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

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

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

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

[dev-dependencies.proptest]
version = "1.4"
features = ["std"]
default-features = false

[profile.bench]
opt-level = 3
lto = true

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