# 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.65.0"
name = "janus_messages"
version = "0.2.28"
description = "Distributed Aggregation Protocol message definitions used in Janus, the server powering ISRG's Divvi Up."
homepage = "https://divviup.org"
documentation = "https://docs.rs/janus_messages"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/divviup/janus"

[[bin]]
name = "dap-decode"
path = "src/bin/dap_decode.rs"
required-features = ["dap-decode-bin"]

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.21.2"

[dependencies.derivative]
version = "2.2.0"

[dependencies.hex]
version = "0.4"

[dependencies.num_enum]
version = "0.6.1"

[dependencies.prio]
version = "0.10.0"
default-features = false

[dependencies.rand]
version = "0.8"

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

[dependencies.structopt]
version = "0.3.26"
optional = true

[dependencies.thiserror]
version = "1.0"

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

[dev-dependencies.tracing-log]
version = "0.1.3"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "std",
    "env-filter",
    "fmt",
]

[features]
dap-decode-bin = ["dep:structopt"]
test-util = []
