# 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.85"
name = "kaniop-oauth2"
version = "0.1.7"
authors = ["Pando85 <pando855@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kanidm OAuth2 client management for the Kubernetes operator"
homepage = "https://github.com/pando85/kanidm-operator"
readme = "README.md"
license-file = "LICENSE.md"
repository = "https://github.com/pando85/kanidm-operator"
resolver = "2"

[features]
default = ["schemars"]
integration-test = []
schemars = [
    "dep:schemars",
    "k8s-openapi/schemars",
    "kaniop-operator/schemars",
]

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

[dependencies.futures]
version = "0.3"

[dependencies.k8s-openapi]
version = "0.26"
features = ["v1_32"]
default-features = false

[dependencies.kanidm_client]
version = "1.8.3"

[dependencies.kanidm_proto]
version = "1.8.3"

[dependencies.kaniop-k8s-util]
version = "0.1.7"

[dependencies.kaniop-operator]
version = "0.1.7"

[dependencies.kube]
version = "2.0"
features = [
    "client",
    "derive",
    "unstable-runtime",
]
default-features = true

[dependencies.openssl]
version = "0"
features = ["vendored"]

[dependencies.schemars]
version = "1.0"
optional = true

[dependencies.serde]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.time]
version = "0.3"

[dependencies.tokio]
version = "1.38"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1.40"

[dependencies.url]
version = "2"
