-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (46 loc) · 1.24 KB
/
Cargo.toml
File metadata and controls
56 lines (46 loc) · 1.24 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
[package]
name = "hookbin"
version = "0.1.0"
edition = "2021"
description = "Single-binary webhook inbox. Accept HTTP, store it, show it."
license = "MIT"
repository = "https://github.com/copyleftdev/hookbin.dev"
homepage = "https://hook-bin.dev"
documentation = "https://github.com/copyleftdev/hookbin.dev#readme"
keywords = ["webhook", "http", "inspector", "debugging", "sqlite"]
categories = ["command-line-utilities", "development-tools", "web-programming::http-server"]
readme = "README.md"
[[bin]]
name = "hookbin"
path = "src/main.rs"
[dependencies]
# HTTP server
axum = "0.8"
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
# Storage
rusqlite = { version = "0.32", features = ["bundled"] }
# UI embedding
rust-embed = "8"
# CLI
clap = { version = "4", features = ["derive"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
# Error handling
thiserror = "2"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
# IDs
nanoid = "0.4"
uuid = { version = "1", features = ["v4"] }
base64 = "0.22"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"