41 lines
1.2 KiB
TOML
41 lines
1.2 KiB
TOML
[package]
|
|
name = "katbin"
|
|
version = "0.1.0"
|
|
authors = ["ATechnoHazard <amolele@gmail.com>"]
|
|
license = "MIT"
|
|
description = "Small, lightweight pastebin+URL shortener written in Rust."
|
|
repository = "https://github.com/ATechnoHazard/katbin"
|
|
homepage = "https://github.com/ATechnoHazard/katbin"
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
rocket = "0.4.5"
|
|
rocket_contrib = { version = "0.4.5", default-features = false, features = ["json"] }
|
|
serde = "1.0.114"
|
|
serde_json = "1.0.56"
|
|
serde_derive = "1.0.114"
|
|
diesel = { version = "1.4.5", features = ["postgres", "r2d2", "chrono"] }
|
|
diesel_migrations = "1.4.0"
|
|
dotenv = "0.15.0"
|
|
jsonwebtoken = "7.2.0"
|
|
slog = "2.5.2"
|
|
slog-term = "2.6.0"
|
|
anyhow = "1.0.31"
|
|
validator = "0.10.1"
|
|
slog-async = "2.5.0"
|
|
bcrypt = "0.8.1"
|
|
chrono = "0.4.13"
|
|
uuid = { version = "0.8.1", features = ["serde", "v4"] }
|
|
jirachi = { version = "0.1.4", features = ["collision-resistant"] }
|
|
|
|
[dev-dependencies]
|
|
diesel_cli = { version = "1.4.1", default-features = false, features = ["postgres"] }
|
|
jirachi_cli = "0.1.2"
|
|
|
|
[profile.release]
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
panic = "abort"
|