gent-crypto 0.2.5

Cryptographic primitives, invitations and signatures for the Gent protocol.
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 = "2024"
rust-version = "1.98"
name = "gent-crypto"
version = "0.2.5"
build = false
include = [
    "/src/**",
    "/LICENSE",
    "/NOTICE.md",
    "/tests/**",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic primitives, invitations and signatures for the Gent protocol."
homepage = "https://gent.link"
readme = false
license = "BSD-3-Clause"
repository = "https://github.com/sam0x17/gent"
resolver = "2"

[features]
invitation = [
    "dep:snow",
    "dep:url",
    "dep:x25519-dalek",
]
mls = ["dep:openmls_traits"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.chacha20poly1305]
version = "0.10.1"
features = ["alloc"]
default-features = false

[dependencies.ed25519-dalek]
version = "3"

[dependencies.gent-protocol]
version = "=0.2.5"

[dependencies.getrandom]
version = "0.4"
features = ["std"]

[dependencies.openmls_traits]
version = "0.6"
optional = true

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

[dependencies.serde_jcs]
version = "0.2"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.snow]
version = "0.10"
features = [
    "use-curve25519",
    "use-chacha20poly1305",
    "use-sha2",
]
optional = true
default-features = false

[dependencies.url]
version = "2"
optional = true

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
    "serde",
]

[dependencies.x25519-dalek]
version = "3"
features = ["static_secrets"]
optional = true

[dependencies.zeroize]
version = "1"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.4"
features = [
    "std",
    "wasm_js",
]

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.uuid]
version = "1"
features = [
    "v4",
    "v7",
    "serde",
    "rng-getrandom",
]

[lints.rust]
unsafe_code = "forbid"