43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "pastebinrun"
|
|
version = "0.1.0"
|
|
authors = ["Konrad Borowski <konrad@borowski.pw>"]
|
|
edition = "2021"
|
|
license = "AGPL-3.0-or-later"
|
|
build = "buildSrc/build.rs"
|
|
|
|
[dependencies]
|
|
chrono = "0.4.23"
|
|
diesel = { version = "1.4.6", features = ["chrono"] }
|
|
diesel_migrations = "1.4.0"
|
|
futures = "0.3.26"
|
|
itertools = "0.10.5"
|
|
log = "0.4.14"
|
|
once_cell = "1.17.0"
|
|
prometheus = { version = "0.13.3", features = [
|
|
"process",
|
|
], default-features = false }
|
|
pulldown-cmark = { version = "0.9.2", default-features = false }
|
|
rand = "0.8.3"
|
|
reqwest = { version = "0.11.14", features = ["json"] }
|
|
rocket = { version = "=0.5.0-rc.2", features = ["json"] }
|
|
rocket_dyn_templates = { version = "=0.1.0-rc.2", features = ["tera"] }
|
|
rocket_sync_db_pools = { version = "=0.1.0-rc.2", features = [
|
|
"diesel_postgres_pool",
|
|
] }
|
|
rust-embed = "6.4.2"
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
serde_json = "1.0.93"
|
|
serde_with = "2.2.0"
|
|
time-parse = "0.2.0"
|
|
tokio = { version = "1.25.0", features = ["rt"] }
|
|
tokio-signal = "0.2.9"
|
|
|
|
[build-dependencies]
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
serde_json = "1.0.93"
|
|
|
|
[features]
|
|
database_tests = []
|
|
sandbox_tests = []
|