-
Notifications
You must be signed in to change notification settings - Fork 263
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (102 loc) · 4.26 KB
/
Copy pathCargo.toml
File metadata and controls
108 lines (102 loc) · 4.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[package]
name = "svix-server"
description = "Svix webhooks server"
publish = false
version.workspace = true
edition.workspace = true
license.workspace = true
# bump .github/workflows/server-ci.yml when changing this
rust-version = "1.85"
[package.metadata.cargo-machete]
ignored = [
# not a direct dependency, but we want to pin its version
"idna_adapter",
]
[features]
default = ["jemalloc"]
jemalloc = ["dep:tikv-jemallocator"]
[dependencies]
aide = { version = "0.13.4", features = ["axum", "redoc", "macros", "axum-headers"] }
anyhow = "1.0.56"
axum = "0.7.9"
axum-extra = { version = "0.9.3", features = ["typed-header"] }
base64 = "0.22"
bb8 = "0.9.0"
bb8-redis = "0.24.0"
blake2 = "0.10.4"
bytes = "1.1.0"
chacha20poly1305 = "0.10.1"
chrono = { version = "0.4.26", features = ["serde"] }
clap = { version = "4.1.8", features = ["derive"] }
dotenvy = "0.15.7"
ed25519-compact = "2.1.1"
enum_dispatch = "0.3.8"
figment = { version = "0.10", features = ["toml", "env", "test"] }
form_urlencoded = "1.1.0"
futures = "0.3"
hex = "0.4.3"
hickory-resolver = "0.25.2"
hmac-sha256 = "1"
http = "1.1.0"
http-body-util = "0.1.2"
http02 = { package = "http", version = "0.2.12" }
hyper = { version = "=1.7.0", features = ["full"] }
hyper-openssl = { version = "0.10.2", features = ["client-legacy", "tokio"] }
hyper-util = { version = "0.1.16", features = ["client-legacy", "client-proxy", "tokio"] }
# Reduce compile times for idna (we don't need the fastest possible impl of UTS 46)
# As per https://github.com/hsivonen/idna_adapter?tab=readme-ov-file#opting-to-use-unicode-rs
idna_adapter = "=1.1.0"
indexmap = "2.6.0"
ipnet = { version = "2.5", features = ["serde"] }
itertools = "0.14"
jsonschema = "0.33.0"
jwt-simple = "0.11.6"
lapin = "2.1.1"
num_enum = "0.7.2"
omniqueue = { git = "https://github.com/svix/omniqueue-rs", rev = "e7e328a576f921ca58d0bdb56b8df69fd996172d", default-features = false, features = ["in_memory", "rabbitmq-with-message-ids", "redis_cluster", "redis_sentinel", "beta"] }
openssl = "0.10.72"
opentelemetry = { version = "0.26.0", features = ["metrics"] }
opentelemetry-http = "0.26.0"
opentelemetry-otlp = { version = "0.26.0", features = ["metrics"] }
opentelemetry-semantic-conventions = "0.26.0"
opentelemetry_sdk = { version = "0.26.0", features = ["rt-tokio"] }
rand = "0.8.5"
redis = { version = "0.32.5", features = ["tokio-comp", "tokio-native-tls-comp", "streams", "cluster-async", "tcp_nodelay", "connection-manager", "sentinel"] }
regex = "1.5.5"
reqwest = { version = "0.12.23", default-features = false, features = ["json", "rustls-tls", "hickory-dns"] }
schemars = { version = "0.8.11", features = ["chrono", "url", "preserve_order"] }
sea-orm = { version = "1.1.1", features = [ "sqlx-postgres", "runtime-tokio-rustls", "macros", "with-chrono", "with-json" ], default-features = false }
sentry = { version = "0.34.0", features = ["tracing"] }
serde = { version = "1.0.184", features = ["derive"] }
serde_json = { version = "1.0.74", features = ["arbitrary_precision", "raw_value"] }
serde_path_to_error = "0.1.7"
sqlx = { version = "0.8.2", features = [ "runtime-tokio-rustls", "postgres", "migrate" ] }
svix = "1.17.0"
svix-ksuid = "^0.5.1"
svix-server_derive = { path = "../svix-server_derive" }
thiserror = "2.0.11"
time = { version = "0.3.9", features = [ "std" ] }
tokio = { version = "1.24.2", features = ["full"] }
tokio-util = "0.7"
tower = "0.5.1"
tower-http = { version = "0.6.1", features = ["trace", "cors", "normalize-path", "request-id"] }
tracing = "0.1.35"
tracing-opentelemetry = "0.27.0"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
url = { version = "2.2.2", features = ["serde"] }
urlencoding = "2.1.2"
# Forked version of 0.16 with a small fix and dependency upgrades, since we
# haven't gotten around to doing a proper upgrade yet (0.17 is a large
# rewrite with a barely-useful changelog)
validator = { git = "https://github.com/svix/validator.git", rev = "aebdc34a4ed72524902ff6d63397b9c435b0578f", features = ["derive"] }
cel = "0.11.1"
once_cell = "1.19"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { version = "0.6", optional = true }
[dev-dependencies]
assert_matches = "1.5.0"
axum-server = { version = "0.7.1", features = ["tls-openssl"] }
ctor = "0.2.7"
wiremock = { version = "=0.6.4" }
[lints]
workspace = true