drandite 0.1.0

Drand beacon verification, relay clients, and timelock encryption
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 = "drandite"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Drand beacon verification, relay clients, and timelock encryption"
documentation = "https://docs.rs/drandite"
readme = "README.md"
keywords = [
    "drand",
    "randomness",
    "beacon",
    "timelock",
    "bls",
]
categories = [
    "cryptography",
    "api-bindings",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/Cupertino/drandite"

[features]
client = [
    "dep:drandite-client",
    "v1",
    "v2",
]
default = [
    "std",
    "reqwest-rustls",
    "tlock",
]
http = [
    "wire",
    "std",
    "drandite-wire/http",
]
portable-blst = [
    "drandite-core/portable-blst",
    "drandite-wire?/portable-blst",
    "drandite-client?/portable-blst",
    "drandite-tlock?/portable-blst",
]
reqwest-http3 = [
    "client",
    "std",
    "dep:reqwest",
    "drandite-client/reqwest-http3",
]
reqwest-native-tls = [
    "client",
    "std",
    "dep:reqwest",
    "drandite-client/reqwest-native-tls",
]
reqwest-rustls = [
    "client",
    "std",
    "dep:reqwest",
    "drandite-client/reqwest-rustls",
]
std = [
    "drandite-core/std",
    "drandite-wire?/std",
    "drandite-client?/std",
]
tlock = ["dep:drandite-tlock"]
v1 = [
    "wire",
    "drandite-wire/v1",
]
v2 = [
    "wire",
    "drandite-wire/v2",
]
wire = ["dep:drandite-wire"]

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

[[example]]
name = "quicknet"
path = "examples/quicknet.rs"
required-features = [
    "std",
    "v2",
    "tlock",
]

[dependencies.drandite-client]
version = "0.1.0"
optional = true
default-features = false

[dependencies.drandite-core]
version = "0.1.0"
default-features = false

[dependencies.drandite-tlock]
version = "0.1.0"
optional = true
default-features = false

[dependencies.drandite-wire]
version = "0.1.0"
optional = true
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "charset",
    "http2",
    "system-proxy",
]
optional = true
default-features = false

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

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

[dev-dependencies.rand_core]
version = "0.10"

[lints.clippy]
nursery = "warn"
pedantic = "warn"
suspicious = "deny"

[lints.clippy.inline_always]
level = "allow"
priority = 1

[lints.rust]
unsafe_code = "deny"