pretix-webhook 0.1.0

Tower service for receiving pretix webhooks
Documentation
# 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 = "pretix-webhook"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tower service for receiving pretix webhooks"
homepage = "https://github.com/sagikazarmark/pretix-webhook"
readme = "README.md"
keywords = [
    "pretix",
    "webhook",
    "tower",
]
categories = ["web-programming::http-server"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sagikazarmark/pretix-webhook"

[features]
default = []
tracing = ["dep:tracing"]

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

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

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

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

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

[dependencies.base64]
version = "0.23.1"

[dependencies.bytes]
version = "1.10.1"

[dependencies.http]
version = "1.3.1"

[dependencies.http-body]
version = "1.0.1"

[dependencies.http-body-util]
version = "0.1.3"

[dependencies.pretix-webhook-events]
version = "0.1.0"

[dependencies.serde_json]
version = "1.0.142"

[dependencies.sha2]
version = "0.11.0"

[dependencies.subtle]
version = "2.6.1"

[dependencies.tower]
version = "0.5.2"
features = ["util"]

[dependencies.tracing]
version = "0.1.41"
features = ["std"]
optional = true
default-features = false

[dev-dependencies.axum]
version = "0.8.4"
default-features = false

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

[dev-dependencies.tracing]
version = "0.1.41"
features = ["std"]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3.19"
features = [
    "fmt",
    "json",
]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"