# 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.90"
name = "atproto-attestation"
version = "0.14.4"
authors = ["Nick Gerakines <nick.gerakines@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AT Protocol attestation utilities for creating and verifying record signatures"
homepage = "https://tangled.org/ngerakines.me/atproto-crates"
documentation = "https://docs.rs/atproto-attestation"
readme = "README.md"
keywords = ["atprotocol"]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "MIT"
repository = "https://tangled.org/ngerakines.me/atproto-crates"

[features]
clap = ["dep:clap"]
default = []
tokio = [
    "dep:tokio",
    "dep:reqwest",
    "dep:async-trait",
]

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

[[bin]]
name = "atproto-attestation-sign"
path = "src/bin/atproto-attestation-sign.rs"
test = false
bench = false
doc = true
required-features = [
    "clap",
    "tokio",
]

[[bin]]
name = "atproto-attestation-verify"
path = "src/bin/atproto-attestation-verify.rs"
test = false
bench = false
doc = true
required-features = [
    "clap",
    "tokio",
]

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.atproto-client]
version = "0.14.4"

[dependencies.atproto-dasl]
version = "0.14.4"

[dependencies.atproto-identity]
version = "0.14.4"

[dependencies.atproto-record]
version = "0.14.4"

[dependencies.base64]
version = "0.22"

[dependencies.cid]
version = "0.11"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.elliptic-curve]
version = "0.13"
features = ["std"]
default-features = false

[dependencies.k256]
version = "0.13"
features = [
    "ecdsa",
    "std",
]
default-features = false

[dependencies.multihash]
version = "0.19"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "std",
]
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "charset",
    "http2",
    "system-proxy",
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"
features = [
    "unbounded_depth",
    "preserve_order",
]

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]
optional = true

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.chrono]
version = "0.4"
features = [
    "std",
    "now",
]
default-features = false

[dev-dependencies.tokio]
version = "1.41"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "macros",
    "rt",
]

[lints.rust]
unsafe_code = "forbid"
