# 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"
name = "camel-component-keycloak"
version = "0.13.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Keycloak integration for rust-camel — claim presets, URL builders (Admin API and event consumer in future phases)"
homepage = "https://github.com/kennycallado/rust-camel"
readme = "README.md"
keywords = [
    "camel",
    "integration",
    "messaging",
    "routing",
    "enterprise",
]
categories = [
    "network-programming",
    "asynchronous",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/kennycallado/rust-camel"
resolver = "2"

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

[[test]]
name = "admin_producer"
path = "tests/admin_producer.rs"

[[test]]
name = "event_consumer"
path = "tests/event_consumer.rs"

[[test]]
name = "introspection"
path = "tests/introspection.rs"

[[test]]
name = "uma"
path = "tests/uma.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.camel-api]
version = "=0.13.0"

[dependencies.camel-auth]
version = "=0.13.0"

[dependencies.camel-component-api]
version = "=0.13.0"

[dependencies.camel-endpoint]
version = "=0.13.0"

[dependencies.indexmap]
version = "2"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "stream",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = [
    "rt",
    "io",
]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
all = "warn"

[lints.rust]
dead_code = "warn"
unused_imports = "warn"
unused_must_use = "warn"
