# 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 = "rerout"
version = "0.3.0"
authors = ["Codecraft Solutions <hello@codecraftsolutions.co.za>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for the Rerout branded-link API."
homepage = "https://rerout.co"
documentation = "https://docs.rs/rerout"
readme = "README.md"
keywords = [
    "rerout",
    "shortlink",
    "qr",
    "webhooks",
    "sdk",
]
categories = [
    "api-bindings",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/ModestNerds-Co/rerout-sdks"

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

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

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

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

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

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "1"

[dependencies.url]
version = "2"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.sha2]
version = "0.10"

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

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