[package]
edition = "2024"
rust-version = "1.88"
name = "security-client-rs"
version = "0.1.1"
build = false
include = [
"/src/**/*.rs",
"/examples/**/*.rs",
"/tests/*.rs",
"/tests/common/*.rs",
"/tests/fixtures/*.json",
"/README.md",
"/CHANGELOG.md",
"/LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async Kibana client for security operations and Fleet management"
documentation = "https://docs.rs/security-client-rs"
readme = "README.md"
keywords = [
"kibana",
"elastic",
"siem",
"security",
"fleet",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "Apache-2.0"
repository = "https://github.com/nestyy1337/security-client-rs"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
tracing = ["dep:tracing"]
[lib]
name = "security_client_rs"
path = "src/lib.rs"
[[example]]
name = "pagination"
path = "examples/pagination.rs"
[[example]]
name = "recovery"
path = "examples/recovery.rs"
[[example]]
name = "security"
path = "examples/security.rs"
[[example]]
name = "transfer"
path = "examples/transfer.rs"
[[test]]
name = "administration"
path = "tests/administration.rs"
[[test]]
name = "cases"
path = "tests/cases.rs"
[[test]]
name = "contracts"
path = "tests/contracts.rs"
[[test]]
name = "deployment"
path = "tests/deployment.rs"
[[test]]
name = "exceptions"
path = "tests/exceptions.rs"
[[test]]
name = "fleet"
path = "tests/fleet.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[[test]]
name = "observability"
path = "tests/observability.rs"
[[test]]
name = "requests"
path = "tests/requests.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.7.1"
[dependencies.futures-util]
version = "0.3.28"
[dependencies.http]
version = "1.1"
[dependencies.percent-encoding]
version = "2.3"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"multipart",
"stream",
]
default-features = false
[dependencies.serde]
version = "1.0.103"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.29"
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.thiserror]
version = "2.0.3"
[dependencies.tokio]
version = "1.28.1"
features = ["time"]
[dependencies.tracing]
version = "0.1.37"
features = ["std"]
optional = true
default-features = false
[dependencies.url]
version = "2.4"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.29"
[dev-dependencies.tokio]
version = "1.28.1"
features = [
"macros",
"rt-multi-thread",
"net",
"time",
"fs",
"io-util",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3.19"
features = [
"fmt",
"std",
]
default-features = false
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[target."cfg(any())".dependencies.quinn]
version = "0.11.6"
optional = true
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
implicit_hasher = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
unnecessary_wraps = "allow"
unused_async = "allow"
wildcard_imports = "allow"
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
dead_code = "warn"
unused_imports = "warn"