# 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 = "peacher_sdk"
version = "0.10.0-dev.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The rust request, response, and parameter types used by the peacher API"
readme = "README.md"
keywords = ["sdk"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PeacherApp/peacher_sdk"

[features]
account = []
address = []
all_routes = [
    "account",
    "address",
    "attachments",
    "auth",
    "campaigns",
    "categories",
    "chambers",
    "comments",
    "communities",
    "content",
    "districts",
    "feed",
    "health",
    "jurisdiction",
    "legislation",
    "likes",
    "location",
    "maps",
    "members",
    "messages",
    "moderation",
    "notifications",
    "parties",
    "posts",
    "reports",
    "sessions",
    "sitemap",
    "sponsorships",
    "tags",
    "uploads",
    "votes",
]
attachments = []
auth = []
axum_test = ["dep:axum-test"]
bevy = [
    "dep:bevy_ecs",
    "dep:bevy_math",
]
campaigns = []
categories = []
chambers = []
cli = [
    "dep:clap",
    "dep:console",
    "dep:dialoguer",
    "dep:dirs",
    "dep:indicatif",
    "dep:tabled",
    "dep:toml",
    "sync",
]
comments = []
communities = []
content = ["tippytappy"]
default = [
    "all_routes",
    "external",
    "sync",
]
districts = []
external = [
    "legislation",
    "sessions",
]
feed = []
geo = [
    "dep:geo",
    "dep:geojson",
]
health = []
jurisdiction = []
legislation = [
    "content",
    "sponsorships",
    "tippytappy",
    "votes",
]
likes = []
location = []
maps = []
members = ["external"]
messages = []
moderation = []
notifications = []
os = [
    "reqwest/http2",
    "reqwest/rustls-tls",
]
parties = []
posts = []
reports = []
sessions = []
sitemap = []
sponsorships = []
std = [
    "getrandom/std",
    "getrandom/sys_rng",
]
sync = []
tags = []
tippytappy = ["dep:markdown"]
uploads = []
utoipa = ["dep:utoipa"]
votes = ["external"]
web = [
    "dep:tsify",
    "dep:wasm-bindgen",
    "getrandom02/js",
    "getrandom03/wasm_js",
    "getrandom/wasm_js",
    "uuid/rng-getrandom",
]
webtransport = [
    "bevy_ecs/bevy_reflect",
    "bevy_ecs/serialize",
    "dep:bevy_ecs",
    "dep:bevy_math",
    "members",
]

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

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1.0"

[dependencies.axum-test]
version = "17.3"
optional = true

[dependencies.bevy_ecs]
version = "0.18"
optional = true
default-features = false

[dependencies.bevy_math]
version = "0.18"
optional = true
default-features = false

[dependencies.bytes]
version = "1.11"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.ciborium]
version = "0.2.2"

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

[dependencies.console]
version = "0.16.3"
optional = true

[dependencies.dialoguer]
version = "0.12"
optional = true

[dependencies.dirs]
version = "6"
optional = true

[dependencies.futures-core]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"
features = ["io"]

[dependencies.geo]
version = "0.32"
optional = true

[dependencies.geojson]
version = "1.0"
optional = true

[dependencies.getrandom]
version = "0.4.1"

[dependencies.getrandom02]
version = "0.2"
optional = true
package = "getrandom"

[dependencies.getrandom03]
version = "0.3"
optional = true
package = "getrandom"

[dependencies.http]
version = "1.4"

[dependencies.indicatif]
version = "0.18"
optional = true

[dependencies.markdown]
version = "1.0.0"
optional = true

[dependencies.mime]
version = "0.3.17"

[dependencies.rand]
version = "0.10"

[dependencies.rand_core]
version = "0.10.0"

[dependencies.reqwest]
version = "0.12"
features = [
    "charset",
    "cookies",
    "json",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_qs]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.tabled]
version = "0.20"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tsify]
version = "0.5.6"
optional = true

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

[dependencies.utoipa]
version = "5.4"
features = [
    "chrono",
    "url",
    "uuid",
]
optional = true

[dependencies.uuid]
version = "1.23"
features = [
    "serde",
    "v4",
]

[dependencies.wasm-bindgen]
version = "0.2.114"
optional = true

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
