# 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 = "2021" name = "hook0-api" version = "0.1.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Core REST API of Hook0 — Open-Source Webhooks as a service for SaaS" homepage = "https://www.hook0.com/" readme = "README.md" keywords = [ "webhooks", "webhook", "webhook-server", "events", "saas", ] license = "SSPL-1.0" repository = "https://gitlab.com/hook0/hook0/-/tree/master/api" [[bin]] name = "hook0-api" path = "src/main.rs" [dependencies.actix] version = "0.13.5" [dependencies.actix-cors] version = "0.7.0" [dependencies.actix-files] version = "0.6.6" [dependencies.actix-governor] version = "0.5.0" features = ["log"] [dependencies.actix-web] version = "4.9.0" [dependencies.anyhow] version = "1.0.86" [dependencies.argon2] version = "0.5.3" [dependencies.async-recursion] version = "1.1.1" [dependencies.base64] version = "0.22.1" [dependencies.biscuit-auth] version = "5.0.0" features = ["uuid"] [dependencies.chrono] version = "0.4.38" features = ["serde"] [dependencies.clap] version = "4.5.16" features = [ "derive", "env", "cargo", "wrap_help", ] [dependencies.futures-util] version = "0.3.30" [dependencies.governor] version = "0.6.3" [dependencies.hook0-client] version = "0.1.0" [dependencies.hook0-sentry-integration] version = "0.1.0" [dependencies.html2text] version = "0.12.5" [dependencies.http-api-problem] version = "0.57.0" features = ["actix-web"] [dependencies.ipnetwork] version = "0.20.0" [dependencies.lazy_static] version = "1.5.0" [dependencies.lettre] version = "0.11.7" features = [ "builder", "smtp-transport", "pool", "tokio1-rustls-tls", ] default-features = false [dependencies.log] version = "0.4.22" [dependencies.mrml] version = "4.0.0" [dependencies.nom] version = "7.1.3" [dependencies.nom-regex] version = "0.2.0" [dependencies.paperclip] version = "0.8.2" features = [ "actix4", "v3", "chrono", "uuid", ] default-features = false [dependencies.regex] version = "1.10.6" [dependencies.reqwest] version = "0.12.7" features = [ "charset", "http2", "macos-system-configuration", "hickory-dns", ] default-features = false [dependencies.sentry-actix] version = "0.34.0" [dependencies.serde] version = "1.0.208" [dependencies.serde_json] version = "1.0.125" [dependencies.sqlx] version = "0.7.4" features = [ "runtime-tokio", "tls-rustls", "postgres", "macros", "uuid", "chrono", "json", "ipnetwork", "migrate", ] default-features = false [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.thiserror] version = "1.0.63" [dependencies.url] version = "2.5.2" [dependencies.uuid] version = "1.10.0" features = [ "serde", "v4", ] [dependencies.validator] version = "0.16.1" features = [ "derive", "unic", ] [dev-dependencies.test-log] version = "0.2.16" features = ["unstable"] [features] application-secret-compatibility = [] default = [ "reqwest-rustls-tls-webpki-roots", "migrate-users-from-keycloak", "application-secret-compatibility", ] migrate-users-from-keycloak = [] reqwest-rustls-tls-native-roots = [ "reqwest/rustls-tls-native-roots", "hook0-client/reqwest-rustls-tls-native-roots", ] reqwest-rustls-tls-webpki-roots = [ "reqwest/rustls-tls-webpki-roots", "hook0-client/reqwest-rustls-tls-webpki-roots", ]