# 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"
name = "hearth-sdk"
version = "1.0.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hearth identity platform Rust SDK"
homepage = "https://github.com/hearth-auth/hearth"
documentation = "https://docs.rs/hearth-sdk"
readme = "README.md"
license = "MIT"
repository = "https://github.com/hearth-auth/hearth"

[features]
tower-middleware = [
    "dep:tower",
    "dep:http",
]

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

[dependencies.base64]
version = "0.22"

[dependencies.http]
version = "1"
optional = true

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tower]
version = "0.4"
optional = true

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

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