Ctrl K
ComunidadGuías…

api/Cargo.toml

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
[package]
name = "hook0-api"
version = "3.0.0"
description = "Core REST API of Hook0 — Open-Source Webhooks as a service for SaaS"
repository = "https://gitlab.com/hook0/hook0/-/tree/master/api"
homepage = "https://www.hook0.com/"
edition = "2024"
authors = ["David Sferruzza <david@hook0.com>", "François-Guillaume Ribreau <fg@hook0.com>"]
license = "SSPL-1.0"
keywords = ["webhooks", "webhook", "webhook-server", "events", "saas"]

[package.metadata.release]
release = true
publish = false

[dependencies]
actix-cors = "0.7.2"
actix-files = "0.7.4"
actix-governor = "0.10.0"
actix-web = "4.19.0"
anyhow = "1.0.104"
argon2 = "0.6.0"
aws-sdk-s3 = { version = "1.157.0", default-features = false, features = ["behavior-version-latest", "sigv4a", "http-1x", "default-https-client", "rt-tokio"] }
base64 = "0.23.1"
biscuit-auth = { version = "6.0.0", features = ["uuid"] }
chrono = { version = "0.4.45", features = ["serde"] }
clap = { version = "4.6.7", features = ["derive", "env", "cargo", "wrap_help"] }
derive_more = { version = "2.1.1", features = ["into"] }
futures-util = "0.3.34"
hook0-client = { path = "../clients/rust", version = "3.0.0", default-features = false, features = ["producer"] }
hook0-protobuf = { path = "../protobuf", version = "0.1.0" }
hook0-sentry-integration = { path = "../sentry-integration", version = "0.1.0" }
html2text = "0.17.4"
http-api-problem = { version = "0.60.0", features = ["actix-web"] }
http-serde = "2.1.1"
humantime = "2.4.0"
ipnetwork = "0.21.1"
lettre = { version = "0.11.23", default-features = false, features = ["builder", "smtp-transport", "pool", "tokio1-rustls", "aws-lc-rs", "rustls-platform-verifier"] }
thousands = "0.2.0"
tracing = "0.1.44"
tracing-actix-web = "0.7.26"
mrml = "6.0.1"
opentelemetry = { version = "0.33.1", default-features = false, features = ["trace", "metrics", "logs"] }
opentelemetry-otlp = { workspace = true }
opentelemetry_sdk = { version = "0.33.1", default-features = false, features = ["trace", "metrics", "logs", "rt-tokio", "spec_unstable_metrics_views"] }
opentelemetry-appender-tracing = "0.33.1"
paperclip = { version = "0.9.7", default-features = false, features = ["actix4", "v3", "chrono", "uuid"] }
pulsar = { version = "6.9.1", default-features = false, features = ["tokio-rustls-runtime"] }
regex = "1.13.1"
reqwest = { version = "0.13.5", features = ["hickory-dns", "form", "json"] }
rustls = { version = "0.23.46", default-features = false, features = ["std", "tls12", "logging", "prefer-post-quantum"] }
sentry-actix = "0.49.5"
serde = "1.0.229"
serde_json = "1.0.154"
sqlx = { version = "0.9.0", default-features = false, features = ["runtime-tokio", "tls-rustls-aws-lc-rs", "postgres", "macros", "uuid", "chrono", "json", "ipnetwork", "migrate"] }
strum = { version = "0.28.0", features = ["derive"] }
subtle = "2.6.1"
thiserror = "2.0.21"
tokio = { version = "1.54.1" }
url = "2.5.8"
uuid = { version = "1.29.2", features = ["serde", "v4", "v7"] }
validator = { version = "0.21.0", features = ["derive"] }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemalloc_pprof = { version = "0.9.0", features = ["symbolize"], optional = true }
pprof = { version = "0.15.0", features = ["protobuf-codec"], optional = true }
tikv-jemallocator = { version = "0.7.0", optional = true }

[dev-dependencies]
# actix-web's own HTTP request type, needed only to name the service bound in
# integration tests that drive the app through `test::init_service`.
actix-http = "3.21.0"
insta = { version = "1.49", features = ["json"] }
opentelemetry_sdk = { version = "0.33.1", default-features = false, features = ["metrics", "testing"] }
proptest = "1"
test-log = { version = "0.2.21", default-features = false, features = ["trace", "color", "unstable"] }

[features]
default = ["application-secret-compatibility", "jemalloc"]
migrate-users-from-keycloak = []
application-secret-compatibility = []
jemalloc = ["dep:tikv-jemallocator"]
profiling = ["jemalloc", "tikv-jemallocator/profiling", "tikv-jemallocator/stats", "tikv-jemallocator/unprefixed_malloc_on_supported_platforms", "tikv-jemallocator/background_threads", "dep:jemalloc_pprof", "dep:pprof"]