# 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.85"
name = "atproto-devtool"
version = "0.1.0"
authors = ["Jack Grigg <thestr4d@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A multitool for the atproto developer ecosystem"
readme = "README.md"
keywords = [
    "atmosphere",
    "bluesky",
]
categories = [
    "command-line-utilities",
    "development-tools::testing",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://tangled.org/str4d.xyz/atproto-devtool"

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

[[bin]]
name = "atproto-devtool"
path = "src/main.rs"

[[test]]
name = "labeler_cli"
path = "tests/labeler_cli.rs"

[[test]]
name = "labeler_endtoend"
path = "tests/labeler_endtoend.rs"

[[test]]
name = "labeler_http"
path = "tests/labeler_http.rs"

[[test]]
name = "labeler_identity"
path = "tests/labeler_identity.rs"

[[test]]
name = "labeler_subscription"
path = "tests/labeler_subscription.rs"

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

[dependencies.atrium-api]
version = "0.25"

[dependencies.atrium-xrpc-client]
version = "0.5"
features = ["reqwest"]
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.10"

[dependencies.ciborium]
version = "0.2"

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.hickory-resolver]
version = "0.25"

[dependencies.humantime]
version = "2.1"

[dependencies.k256]
version = "0.13"
features = ["ecdsa"]

[dependencies.miette]
version = "7.6"
features = ["fancy"]

[dependencies.multibase]
version = "0.9"

[dependencies.p256]
version = "0.13"
features = ["ecdsa"]

[dependencies.percent-encoding]
version = "2.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "json",
    "gzip",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.51"
features = [
    "rt",
    "macros",
    "time",
    "net",
]

[dependencies.tokio-tungstenite]
version = "0.29"
features = [
    "connect",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2.5"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.insta]
version = "1.47"

[dev-dependencies.tokio]
version = "1.51"
features = [
    "rt",
    "macros",
    "test-util",
    "time",
]

[lints.clippy]
uninlined_format_args = "deny"
