forked from caffeineee/pasties
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (30 loc) · 1008 Bytes
/
Cargo.toml
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
[package]
name = "pastemd"
description = "Pluggable pastebin backend"
authors = ["hkau"]
license = "MIT"
version = "0.6.0"
edition = "2021"
documentation = "https://docs.rs/pastemd"
repository = "https://github.com/hkauso/pastemd"
categories = ["web-programming", "database"]
[package.metadata.docs.rs]
features = ["sqlite"]
no-default-features = true
[features]
postgres = ["dorsal/postgres", "starstraw/postgres"]
mysql = ["dorsal/mysql", "starstraw/mysql"]
sqlite = ["dorsal/sqlite", "starstraw/sqlite"]
# default = ["dorsal/sqlite", "starstraw/sqlite"] # for development
[dependencies]
axum = "0.7.5"
axum-macros = "0.4.1"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.117"
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
dorsal = { version = "0.1.5", default-features = false }
dotenv = "0.15.0"
regex = "1.10.5"
idna = "1.0.0"
axum-extra = { version = "0.9.3", features = ["cookie"] }
starstraw = { version = "0.1.0", default-features = false }