# 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 = "2021"
rust-version = "1.88"
name = "keycloak"
version = "26.6.2"
authors = ["Alexander Korolev <alexander.korolev.germany@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Keycloak Admin REST API.
"""
homepage = "https://github.com/kilork/keycloak"
readme = "README.md"
keywords = [
    "api",
    "async",
    "keycloak",
    "rest",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Unlicense OR MIT"
repository = "https://github.com/kilork/keycloak"

[features]
builder = []
default = [
    "tags-all",
    "resource-builder",
    "reqwest",
]
multipart = [
    "reqwest12?/multipart",
    "reqwest13?/multipart",
]
rc = [
    "rc-map",
    "rc-str",
    "rc-val",
    "rc-vec",
]
rc-map = ["serde/rc"]
rc-str = ["serde/rc"]
rc-val = ["serde/rc"]
rc-vec = ["serde/rc"]
reqwest = ["reqwest13"]
reqwest12 = ["dep:reqwest12"]
reqwest13 = ["dep:reqwest13"]
resource = []
resource-builder = [
    "builder",
    "resource",
]
schemars = ["dep:schemars"]
tag-attack-detection = []
tag-authentication-management = []
tag-client-attribute-certificate = []
tag-client-initial-access = []
tag-client-registration-policy = []
tag-client-role-mappings = []
tag-client-scopes = []
tag-clients = []
tag-component = []
tag-groups = []
tag-identity-providers = []
tag-key = []
tag-none = []
tag-organizations = []
tag-protocol-mappers = []
tag-realms-admin = []
tag-role-mapper = []
tag-roles = []
tag-roles-by-id = []
tag-scope-mappings = []
tag-users = []
tag-workflows = []
tags-all = [
    "tag-attack-detection",
    "tag-authentication-management",
    "tag-client-attribute-certificate",
    "tag-client-initial-access",
    "tag-client-registration-policy",
    "tag-client-role-mappings",
    "tag-client-scopes",
    "tag-clients",
    "tag-component",
    "tag-groups",
    "tag-identity-providers",
    "tag-key",
    "tag-organizations",
    "tag-protocol-mappers",
    "tag-realms-admin",
    "tag-role-mapper",
    "tag-roles",
    "tag-roles-by-id",
    "tag-scope-mappings",
    "tag-users",
    "tag-workflows",
    "tag-none",
]

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

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

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

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

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

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

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.reqwest12]
version = "0.12"
features = ["json"]
optional = true
default-features = false
package = "reqwest"

[dependencies.reqwest13]
version = "0.13"
features = [
    "form",
    "json",
    "query",
]
optional = true
default-features = false
package = "reqwest"

[dependencies.schemars]
version = "1.2.1"
features = [
    "derive",
    "std",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = ["macros"]
default-features = false

[dev-dependencies.clap]
version = "4"
features = [
    "derive",
    "help",
    "std",
]
default-features = false

[dev-dependencies.heck]
version = "0.5"

[dev-dependencies.indexmap]
version = "2"
features = ["serde"]

[dev-dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

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

[dev-dependencies.toml]
version = "1.1.2"
