2020-05-27 16:38:29 +00:00
|
|
|
[package]
|
|
|
|
name = "katbin"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["ATechnoHazard <amolele@gmail.com>"]
|
2020-07-05 20:59:30 +00:00
|
|
|
license = "MIT"
|
|
|
|
description = "Small, lightweight pastebin+URL shortener written in Rust."
|
|
|
|
repository = "https://github.com/ATechnoHazard/katbin"
|
|
|
|
homepage = "https://github.com/ATechnoHazard/katbin"
|
2020-05-27 16:38:29 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-06-13 16:29:21 +00:00
|
|
|
rocket = "0.4.10"
|
|
|
|
rocket_contrib = { version = "0.4.10", default-features = false, features = ["json"] }
|
2021-05-19 17:54:37 +00:00
|
|
|
serde = "1.0.126"
|
2021-03-07 17:31:38 +00:00
|
|
|
serde_json = "1.0.64"
|
2021-05-19 17:54:37 +00:00
|
|
|
serde_derive = "1.0.126"
|
2021-03-07 17:31:38 +00:00
|
|
|
diesel = { version = "1.4.6", features = ["postgres", "r2d2", "chrono"] }
|
2020-06-24 08:25:28 +00:00
|
|
|
diesel_migrations = "1.4.0"
|
2020-05-27 17:08:51 +00:00
|
|
|
dotenv = "0.15.0"
|
2020-07-05 17:01:03 +00:00
|
|
|
jsonwebtoken = "7.2.0"
|
2020-12-17 15:56:32 +00:00
|
|
|
slog = "2.7.0"
|
2021-02-12 18:47:06 +00:00
|
|
|
slog-term = "2.8.0"
|
2021-05-19 17:54:37 +00:00
|
|
|
anyhow = "1.0.40"
|
2021-01-27 19:33:40 +00:00
|
|
|
slog-async = "2.6.0"
|
2020-11-22 14:53:55 +00:00
|
|
|
bcrypt = "0.9.0"
|
2020-10-07 08:22:03 +00:00
|
|
|
chrono = "0.4.19"
|
2021-01-27 19:33:40 +00:00
|
|
|
uuid = { version = "0.8.2", features = ["serde", "v4"] }
|
2020-11-22 18:54:04 +00:00
|
|
|
jirachi = { version = "0.1.9", features = ["collision-resistant"] }
|
2020-09-24 17:27:43 +00:00
|
|
|
rocket_cors = "0.5.2"
|
2021-05-19 17:54:37 +00:00
|
|
|
regex = "1.5.4"
|
2020-06-26 08:05:42 +00:00
|
|
|
|
2020-07-05 20:59:30 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
diesel_cli = { version = "1.4.1", default-features = false, features = ["postgres"] }
|
|
|
|
jirachi_cli = "0.1.2"
|
|
|
|
|
2020-06-26 08:05:42 +00:00
|
|
|
[profile.release]
|
|
|
|
lto = "fat"
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|