scm-sdk 0.2.2

Native async Strata Cloud Manager SDK, beginning with Prisma AIRS
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"
rust-version = "1.89"
name = "scm-sdk"
version = "0.2.2"
authors = ["Calvin Remsburg"]
build = false
include = [
    "src/**",
    "examples/**",
    "LICENSE",
    "NOTICE",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native async Strata Cloud Manager SDK, beginning with Prisma AIRS"
readme = "README.md"
keywords = [
    "prisma-airs",
    "strata",
    "palo-alto",
    "security",
    "sdk",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://git.cdot.io/cdot/scm-sdk-rs"

[features]
agentguard = ["models"]
default = [
    "reqwest-transport",
    "scan",
]
dlp = ["models"]
gateway = [
    "models",
    "iam",
]
iam = [
    "models",
    "dep:getrandom",
]
management = [
    "models",
    "dlp",
]
model-security = ["models"]
models = []
realtime = ["gateway"]
red-team = ["models"]
reqwest-transport = ["dep:reqwest"]
scan = ["models"]
tracing = ["dep:tracing"]
ws-transport = [
    "realtime",
    "dep:tokio-websockets",
    "dep:rustls",
    "dep:tokio-rustls",
    "dep:rustls-native-certs",
    "dep:httparse",
    "dep:aws-lc-rs",
    "tokio/net",
]

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

[[example]]
name = "access_policies"
path = "examples/access_policies.rs"
required-features = ["gateway"]

[[example]]
name = "foundation"
path = "examples/foundation.rs"

[[example]]
name = "gateway"
path = "examples/gateway.rs"

[[example]]
name = "live_qualification"
path = "examples/live_qualification.rs"

[[example]]
name = "management"
path = "examples/management.rs"

[[example]]
name = "model_and_red_team"
path = "examples/model_and_red_team.rs"

[[example]]
name = "pagination"
path = "examples/pagination.rs"

[[example]]
name = "realtime"
path = "examples/realtime.rs"

[[example]]
name = "red_team_dataplane"
path = "examples/red_team_dataplane.rs"

[[example]]
name = "response_compatibility"
path = "examples/response_compatibility.rs"
required-features = ["red-team"]

[[example]]
name = "response_defaults"
path = "examples/response_defaults.rs"
required-features = ["red-team"]

[[example]]
name = "scan"
path = "examples/scan.rs"

[dependencies.aws-lc-rs]
version = "1.18.2"
features = ["aws-lc-sys"]
optional = true
default-features = false

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.11"

[dependencies.futures-util]
version = "0.3.34"
features = ["sink"]

[dependencies.getrandom]
version = "0.4.3"
optional = true

[dependencies.hmac]
version = "0.12.1"

[dependencies.http]
version = "1.4"

[dependencies.httparse]
version = "1.10.1"
optional = true

[dependencies.httpdate]
version = "1.0.3"

[dependencies.mime]
version = "0.3.17"

[dependencies.regex]
version = "1.13.1"

[dependencies.reqwest]
version = "0.13.5"
features = [
    "rustls",
    "http2",
    "stream",
    "gzip",
    "system-proxy",
]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23.46"
features = [
    "aws_lc_rs",
    "std",
    "tls12",
]
optional = true
default-features = false

[dependencies.rustls-native-certs]
version = "0.8.5"
optional = true

[dependencies.ryu-js]
version = "1.0.3"

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

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]

[dependencies.sha2]
version = "0.10.9"

[dependencies.time]
version = "0.3.55"
features = [
    "parsing",
    "formatting",
]

[dependencies.tokio]
version = "1.50"
features = [
    "sync",
    "time",
    "macros",
    "rt",
    "fs",
    "io-util",
]

[dependencies.tokio-rustls]
version = "0.26.6"
features = [
    "aws_lc_rs",
    "tls12",
]
optional = true
default-features = false

[dependencies.tokio-util]
version = "0.7.20"
features = ["rt"]

[dependencies.tokio-websockets]
version = "=0.13.3"
features = [
    "client",
    "getrandom",
    "aws_lc_rs",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.44"
features = ["std"]
optional = true
default-features = false

[dependencies.url]
version = "2.5.8"

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.flate2]
version = "1.1"

[dev-dependencies.tokio]
version = "1.50"
features = [
    "sync",
    "time",
    "macros",
    "rt-multi-thread",
    "net",
    "io-util",
    "test-util",
]

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

[lints.rust]
unsafe_code = "forbid"