[package]
edition = "2021"
rust-version = "1.86"
name = "dsh_api"
version = "0.9.0"
authors = [
"Wilbert Schelvis, <wilbert.schelvis@kpn.com>",
"KPN DSH Team, <unibox@kpn.com>",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DSH resource management API client"
homepage = "https://www.kpn.com/dsh"
readme = "README.md"
keywords = [
"kpn",
"dsh",
"rest",
"api",
"client",
]
license = "Apache-2.0"
repository = "https://github.com/kpn-dsh/dsh-api"
[package.metadata.docs.rs]
all-features = true
[features]
generic = ["dep:erased-serde"]
manage = []
robot = []
[lib]
name = "dsh_api"
path = "src/lib.rs"
[[example]]
name = "app"
path = "examples/app.rs"
[[example]]
name = "app_configuration"
path = "examples/app_configuration.rs"
[[example]]
name = "app_manifest"
path = "examples/app_manifest.rs"
[[example]]
name = "application"
path = "examples/application.rs"
[[example]]
name = "application_derived"
path = "examples/application_derived.rs"
[[example]]
name = "application_functions"
path = "examples/application_functions.rs"
[[example]]
name = "bucket"
path = "examples/bucket.rs"
[[example]]
name = "certificate"
path = "examples/certificate.rs"
[[example]]
name = "common"
path = "examples/common.rs"
[[example]]
name = "errors"
path = "examples/errors.rs"
[[example]]
name = "generic"
path = "examples/generic.rs"
[[example]]
name = "limits"
path = "examples/limits.rs"
[[example]]
name = "openapi_spec"
path = "examples/openapi_spec.rs"
[[example]]
name = "platform"
path = "examples/platform.rs"
[[example]]
name = "secret"
path = "examples/secret.rs"
[[example]]
name = "stream"
path = "examples/stream.rs"
[[example]]
name = "tasks"
path = "examples/tasks.rs"
[[example]]
name = "tenant"
path = "examples/tenant.rs"
[[example]]
name = "token_fetcher"
path = "examples/token_fetcher.rs"
[[example]]
name = "vhost"
path = "examples/vhost.rs"
[[example]]
name = "volume"
path = "examples/volume.rs"
[[test]]
name = "application_tests"
path = "tests/application_tests.rs"
[[test]]
name = "certificate_tests"
path = "tests/certificate_tests.rs"
[[test]]
name = "dependants_tests"
path = "tests/dependants_tests.rs"
[[test]]
name = "display_tests"
path = "tests/display_tests.rs"
[[test]]
name = "new_tests"
path = "tests/new_tests.rs"
[[test]]
name = "parse_tests"
path = "tests/parse_tests.rs"
[[test]]
name = "query_processor_tests"
path = "tests/query_processor_tests.rs"
[[test]]
name = "secret_tests"
path = "tests/secret_tests.rs"
[[test]]
name = "tenant_tests"
path = "tests/tenant_tests.rs"
[[test]]
name = "version_tests"
path = "tests/version_tests.rs"
[[test]]
name = "vhost_tests"
path = "tests/vhost_tests.rs"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
default-features = false
[dependencies.erased-serde]
version = "0.4"
features = ["std"]
optional = true
default-features = false
[dependencies.futures]
version = "0.3"
features = [
"alloc",
"async-await",
]
default-features = false
[dependencies.itertools]
version = "0.14"
features = ["default"]
default-features = false
[dependencies.log]
version = "0.4"
default-features = false
[dependencies.percent-encoding]
version = "2"
default-features = false
[dependencies.regex]
version = "1"
default-features = false
[dependencies.regress]
version = "0.10"
features = ["std"]
default-features = false
[dependencies.reqwest]
version = "0.13"
features = [
"default-tls",
"form",
"json",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false
[dependencies.serde_json]
version = "1"
default-features = false
[dependencies.simple-mermaid]
version = "0.2"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.regex]
version = "1"
features = ["unicode-perl"]
[dev-dependencies.serde_yaml]
version = "0.9.33"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
]
[dev-dependencies.toml]
version = "0.9"
features = ["display"]
[build-dependencies.dsh_api_build_helpers]
version = "0.7.0"
[build-dependencies.openapiv3]
version = "2"
[build-dependencies.serde]
version = "1"
features = ["derive"]
[build-dependencies.serde_json]
version = "1"
[lints.clippy]
uninlined_format_args = "allow"