# 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.81.0"
name = "janus_client"
version = "0.7.108"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for Janus, the server powering ISRG's Divvi Up."
homepage = "https://divviup.org"
documentation = "https://docs.rs/janus_client"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/divviup/janus"

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

[features]
ohttp = [
    "dep:ohttp",
    "dep:bhttp",
]

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

[dependencies.backoff]
version = "0.4.0"
features = ["tokio"]

[dependencies.bhttp]
version = "0.6.1"
features = [
    "bhttp",
    "http",
]
optional = true

[dependencies.educe]
version = "0.6.0"
features = ["Debug"]
default-features = false

[dependencies.http]
version = "1.4"

[dependencies.itertools]
version = "0.14"

[dependencies.janus_core]
version = "0.7.108"

[dependencies.janus_messages]
version = "0.7.108"

[dependencies.ohttp]
version = "0.7.2"
features = [
    "client",
    "rust-hpke",
]
optional = true
default-features = false

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

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12.15"
features = [
    "rustls-tls",
    "json",
]
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.49"
features = [
    "full",
    "tracing",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"
features = ["serde"]

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

[dev-dependencies.hex-literal]
version = "1.1.0"

[dev-dependencies.janus_core]
version = "0.7.108"
features = ["test-util"]

[dev-dependencies.mockito]
version = "1.7.2"

[dev-dependencies.ohttp]
version = "0.7.2"
default-features = true

[dev-dependencies.tokio]
version = "1.49"
features = [
    "full",
    "tracing",
]

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

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