darkbio-wire 0.3.0

Encrypted protocol between Ark and host
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"
name = "darkbio-wire"
version = "0.3.0"
authors = ["Péter Szilágyi <peter@dark.bio>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encrypted protocol between Ark and host"
documentation = "https://docs.rs/darkbio-wire"
readme = "README.md"
keywords = [
    "ark",
    "wire",
    "transport",
    "protobuf",
]
categories = [
    "network-programming",
    "encoding",
]
license = "BSD-3-Clause"
repository = "https://github.com/dark-bio/wire-rs"

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

[features]
bench = [
    "criterion",
    "sysinfo",
]
default = []
fuzz = [
    "arbitrary",
    "base64",
    "getrandom",
    "rand_chacha",
    "serde_json",
    "sha2",
    "strum",
]

[lib]
name = "darkbio_wire"
path = "src/lib.rs"
bench = false

[[bench]]
name = "main"
path = "benches/main.rs"
harness = false
required-features = ["bench"]

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

[dependencies.base64]
version = "0.23"
optional = true

[dependencies.criterion]
version = "0.8"
optional = true

[dependencies.darkbio-cobs]
version = "0.2.0"

[dependencies.darkbio-crypto]
version = "0.17.2"
features = [
    "cbor",
    "cose",
    "cwt",
    "xdsa",
    "xhpke",
]

[dependencies.darkbio-trust]
version = "0.2.0"

[dependencies.getrandom]
version = "0.4"
optional = true

[dependencies.memchr]
version = "2"

[dependencies.prost]
version = "0.14"

[dependencies.rand_chacha]
version = "0.10"
optional = true

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

[dependencies.sha2]
version = "0.11"
optional = true

[dependencies.strum]
version = "0.28"
features = ["derive"]
optional = true

[dependencies.sysinfo]
version = "0.39"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1.40"

[dev-dependencies.base64]
version = "0.23"

[dev-dependencies.rand]
version = "0.10.2"

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

[dev-dependencies.strum]
version = "0.28"
features = ["derive"]

[dev-dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[build-dependencies.prost-build]
version = "0.14.1"

[build-dependencies.protoc-bin-vendored]
version = "3.2.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage_nightly)",
    'cfg(getrandom_backend, values("custom"))',
]