[package]
edition = "2024"
rust-version = "1.88"
name = "ans-client"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ANS API client for agent registration and management"
homepage = "https://github.com/godaddy/ans-sdk-rust"
readme = "README.md"
keywords = [
"ans",
"client",
"agent-name-service",
"api",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/godaddy/ans-sdk-rust"
resolver = "2"
[lib]
name = "ans_client"
path = "src/lib.rs"
[[test]]
name = "client_tests"
path = "tests/client_tests.rs"
[dependencies.ans-types]
version = "0.1.1"
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"std",
"now",
]
default-features = false
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"query",
"rustls",
]
default-features = false
[dependencies.secrecy]
version = "0.10"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.50"
features = [
"rt-multi-thread",
"sync",
"time",
"macros",
"net",
"io-util",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
features = ["serde"]
[dependencies.urlencoding]
version = "2.1"
[dependencies.uuid]
version = "1.21"
features = [
"serde",
"v4",
]
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
dbg_macro = "deny"
exit = "deny"
expect_used = "deny"
mem_forget = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "warn"
return_self_not_must_use = "allow"
todo = "deny"
unwrap_used = "deny"
use_self = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
[lints.rust.future_incompatible]
level = "deny"
priority = -1