[package]
edition = "2024"
rust-version = "1.88"
name = "fizzy-sdk"
version = "0.2.4"
build = false
include = [
"src/**",
"examples/**",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Fizzy API client, generated from the Smithy model in spec/"
homepage = "https://github.com/basecamp/fizzy-sdk"
documentation = "https://docs.rs/fizzy-sdk"
readme = "README.md"
keywords = [
"fizzy",
"37signals",
"api",
"sdk",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/basecamp/fizzy-sdk"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"reqwest",
"rustls",
"tracing",
]
reqwest = ["dep:reqwest"]
rustls = ["reqwest?/rustls"]
tracing = ["dep:tracing"]
[lib]
name = "fizzy_sdk"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
"std",
]
default-features = false
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.http]
version = "1"
[dependencies.percent-encoding]
version = "2"
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.13"
features = ["http2"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.tokio]
version = "1"
features = [
"io-util",
"rt",
"time",
"sync",
]
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.url]
version = "2"
[dev-dependencies.reqwest]
version = "0.13"
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"net",
"rt-multi-thread",
"time",
"sync",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
doc_markdown = "allow"
expect_used = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "allow"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]