uptrakit-openapi-client 0.0.3

Typed HTTP client for the Uptrakit web API
Documentation
# 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 = "uptrakit-openapi-client"
version = "0.0.3"
authors = ["Andrey Yantsen"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed HTTP client for the Uptrakit web API"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/worried-networking/uptrakit"

[features]
mock = ["dep:httpmock"]
openapi = ["uptrakit-web-api-types/openapi"]
sea-orm = ["uptrakit-shared-types/sea-orm"]
tracing = []

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

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

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

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

[dependencies.httpmock]
version = "0.8"
optional = true

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

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

[dependencies.rootcause]
version = "0.13"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

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

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "macros",
    "parsing",
    "serde-well-known",
    "serde",
]

[dependencies.tokio]
version = "1"
features = ["time"]

[dependencies.tracing]
version = "0.1"

[dependencies.uptrakit-shared-macros]
version = "0.0.2"

[dependencies.uptrakit-shared-types]
version = "0.0.3"

[dependencies.uptrakit-web-api-types]
version = "0.0.3"

[dependencies.url]
version = "2"

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

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

[dev-dependencies.cargo_metadata]
version = "0.23.1"

[dev-dependencies.http]
version = "1"

[dev-dependencies.httpmock]
version = "0.8"

[dev-dependencies.serde_urlencoded]
version = "0.7"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
assertions_on_result_states = "deny"
dbg_macro = "deny"
expect_used = "deny"
float_cmp = "deny"
get_unwrap = "deny"
indexing_slicing = "deny"
large_futures = "deny"
let_underscore_future = "deny"
let_underscore_must_use = "deny"
map_err_ignore = "deny"
mem_forget = "deny"
multiple_unsafe_ops_per_block = "deny"
panic = "deny"
rc_mutex = "deny"
string_slice = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unreachable = "deny"
unused_result_ok = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
used_underscore_binding = "deny"
used_underscore_items = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
unfulfilled_lint_expectations = "deny"
unreachable_pub = "deny"
warnings = "deny"