[package]
edition = "2024"
rust-version = "1.88"
name = "proto-blue-api"
version = "0.3.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AT Protocol high-level API: agent, rich text, moderation, generated types"
readme = "README.md"
keywords = [
"atproto",
"bluesky",
"api",
"social-network",
"sdk",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dollspace-gay/proto-blue"
resolver = "2"
[features]
default = ["fetch-reqwest"]
fetch-reqwest = ["proto-blue-xrpc/fetch-reqwest"]
fetch-web = ["proto-blue-xrpc/fetch-web"]
server = ["proto-blue-xrpc/server"]
[lib]
name = "proto_blue_api"
path = "src/lib.rs"
[[test]]
name = "generated_register"
path = "tests/generated_register.rs"
[[test]]
name = "live_pds"
path = "tests/live_pds.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.once_cell]
version = "1"
[dependencies.proto-blue-common]
version = "0.3.3"
[dependencies.proto-blue-lex-data]
version = "0.3.3"
[dependencies.proto-blue-lexicon]
version = "0.3.3"
[dependencies.proto-blue-syntax]
version = "0.3.3"
[dependencies.proto-blue-xrpc]
version = "0.3.3"
default-features = false
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
]
default-features = false
[dependencies.unicode-segmentation]
version = "1"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
features = ["ws"]
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"json",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"io-util",
"time",
]
default-features = false
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
too_long_first_doc_paragraph = "allow"
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1