# 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.70"
name = "darkstrata-credential-check"
version = "1.1.1"
authors = ["DarkStrata <support@darkstrata.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for DarkStrata credential breach checking API with k-anonymity privacy protection"
documentation = "https://docs.rs/darkstrata-credential-check"
readme = "README.md"
keywords = [
    "security",
    "credentials",
    "breach",
    "password",
    "k-anonymity",
]
categories = [
    "authentication",
    "api-bindings",
    "cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/darkstrata/darkstrata-sdks"

[features]
default = []

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
    "serde",
]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2.5"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.url]
version = "2.5"

[dev-dependencies.rand]
version = "0.8"

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

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