[package]
name = "hooksniff"
version = "1.5.1"
authors = ["HookSniff Inc. <servetarslan02@gmail.com>"]
edition = "2021"
description = "HookSniff webhooks API client and webhook verification library"
homepage = "https://hooksniff.vercel.app"
repository = "https://github.com/servetarslan02/hooksniff-rust"
readme = "README.md"
license = "MIT"
keywords = ["hooksniff", "webhooks", "api"]
categories = [
"development-tools",
"asynchronous",
"network-programming",
"web-programming",
]
include = ["src/**/*", "README.md"]
rust-version = "1.75"
[features]
default = ["http1", "rustls-tls"]
http1 = ["hyper-util/http1", "hyper-rustls?/http1"]
http2 = ["hyper-util/http2", "hyper-rustls?/http2"]
native-tls = ["dep:hyper-tls"]
rustls-tls = ["dep:hyper-rustls", "dep:rustls", "hyper-rustls?/rustls-native-certs"]
hooksniff_beta = []
[dependencies]
futures = "0.3"
base64 = "0.13"
hmac-sha256 = "1"
http02 = { package = "http", version = "0.2.0" }
http1 = { package = "http", version = "1.1.0" }
http-body-util = "0.1.0"
hyper = "1.7.0"
hyper-rustls = { version = "0.27.7", optional = true }
hyper-tls = { version = "0.6.0", optional = true }
hyper-util = { version = "0.1.16", features = ["client", "client-legacy", "tokio"] }
itertools = "0.14.0"
js_option = "0.1.1"
percent-encoding = "2.3.1"
rand = "0.9.0"
rustls = { version = "0.23.31", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_repr = "0.1"
thiserror = "2.0.11"
tokio = { version = "1.41.0", features = ["time"] }
tower-service = "0.3.3"
tracing = { version = "0.1.41", default-features = false }
url = "2.2"
uuid = { version = "1", features = ["v4"] }
[dev-dependencies]
tokio = { version = "1.41.0", features = ["macros"] }
wiremock = "0.6.2, <0.6.5"
[package.metadata.cargo-public-api-crates]
allowed = [
"http",
"serde",
"serde_json",
"base64",
]
[lints.rust]
unknown_lints = "allow"
[lints.clippy]
all = { priority = -1, level = "warn" }
literal_string_with_formatting_args = "allow"