[package]
edition = "2024"
rust-version = "1.85"
name = "rerout"
version = "0.6.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 = "smartlinks"
path = "tests/smartlinks.rs"
[[test]]
name = "tags"
path = "tests/tags.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"