[package]
edition = "2021"
rust-version = "1.80"
name = "makegov-tango"
version = "0.1.0"
authors = ["MakeGov <hello@makegov.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for the Tango federal-contracting data API"
homepage = "https://docs.makegov.com"
readme = "README.md"
keywords = [
"tango",
"sdk",
"government",
"federal",
"contracting",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/makegov/tango-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "tango"
path = "src/lib.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"
[dependencies.bon]
version = "3"
[dependencies.futures]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"sync",
]
[dependencies.url]
version = "2"
[dev-dependencies.httpmock]
version = "0.7"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
"sync",
"macros",
"rt-multi-thread",
"test-util",
]
[dev-dependencies.tokio-test]
version = "0.4"
[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"