dcrypt-algorithms 1.2.3

Cryptographic primitives for the dcrypt library
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"
name = "dcrypt-algorithms"
version = "1.2.3"
authors = ["Heath Ledger"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic primitives for the dcrypt library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ioi-foundation/dcrypt"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.release]
publish = true

[features]
aead = ["alloc"]
alloc = [
    "dcrypt-api/alloc",
    "dcrypt-common/alloc",
]
block = []
default = [
    "std",
    "xof",
    "ec",
]
ec = [
    "alloc",
    "groups",
    "pairings",
    "zeroize",
]
experimental = []
groups = []
hash = []
kdf = ["alloc"]
mac = []
pairing-debug = []
pairings = ["groups"]
serde_json = [
    "dep:serde_json",
    "dep:serde",
]
std = [
    "alloc",
    "byteorder/std",
    "subtle/std",
    "hex/std",
    "rand/std",
    "getrandom/std",
    "serde_json",
    "dcrypt-api/std",
    "dcrypt-common/std",
    "dcrypt-internal/std",
    "hash",
    "xof",
    "aead",
    "block",
    "kdf",
    "mac",
    "stream",
    "ec",
]
stream = []
xof = ["alloc"]
zeroize = ["dep:zeroize"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22.1"
features = ["alloc"]
default-features = false

[dependencies.byteorder]
version = "1.4.3"
default-features = false

[dependencies.dcrypt-api]
version = "=1.2.3"
default-features = false

[dependencies.dcrypt-common]
version = "=1.2.3"
default-features = false

[dependencies.dcrypt-internal]
version = "=1.2.3"
default-features = false

[dependencies.dcrypt-params]
version = "=1.2.3"

[dependencies.faster-hex]
version = "0.6.1"
optional = true

[dependencies.getrandom]
version = "0.2.15"
features = ["custom"]
optional = true
default-features = false

[dependencies.hex]
version = "0.4.3"
default-features = false

[dependencies.portable-atomic]
version = "1.6"
default-features = false

[dependencies.rand]
version = "0.8.5"
default-features = false

[dependencies.rand_core]
version = "0.6.4"
default-features = false

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

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

[dependencies.subtle]
version = "2.6.1"
default-features = false

[dependencies.zeroize]
version = "1.5.7"
features = ["zeroize_derive"]
optional = true

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

[dev-dependencies.rand]
version = "0.8.5"
features = [
    "std",
    "std_rng",
]

[dev-dependencies.rand_chacha]
version = "0.3.1"

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

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand_chacha]
version = "0.3.1"
default-features = false