-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
91 lines (83 loc) · 3.29 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# SPDX-License-Identifier: CC0-1.0
#
# Cargo.toml
#
# This file is a component of ShadyURL by Elizabeth Myers.
#
# To the extent possible under law, the person who associated CC0 with
# ShadyURL has waived all copyright and related or neighboring rights
# to ShadyURL.
#
# You should have received a copy of the CC0 legalcode along with this
# work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
[package]
name = "shadyurl-rust"
version = "0.2.0"
edition = "2021"
rust-version = "1.75.0"
authors = ["Elizabeth Myers"]
categories = ["web-programming::http-server"]
keywords = ["web", "service", "axum", "http"]
description = "A webapp that makes URLs shady"
license = "CC0-1.0"
homepage = "https://github.com/Elizafox/ShadyURL-Rust"
repository = "https://github.com/Elizafox/ShadyURL-Rust"
[workspace]
members = [".", "entity", "migration", "service"]
[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true
[features]
default = ["sqlite"]
mysql = ["sea-orm/sqlx-mysql", "migration/mysql"]
postgres = ["sea-orm/sqlx-postgres", "migration/postgres"]
sqlite = ["sea-orm/sqlx-sqlite", "migration/sqlite"]
tracing = ["tokio/tracing", "tower/tracing", "tower-http/tracing"]
[dependencies]
entity = { path = "entity" }
migration = { path = "migration" }
service = { path = "service" }
######################################
# Package dependencies go below here #
######################################
askama = { version = "0.12.1", features = ["with-axum", "urlencode", "mime", "mime_guess"], default-features = false }
askama_axum = { version = "0.4.0", default-features = false, features = ["urlencode"] }
async-trait = "0.1.81"
axum = { version = "0.7.5", features = ["form", "http1", "http2", "macros", "tokio", "tower-log"] }
axum-client-ip = "0.6.0"
axum-login = "0.15.3"
axum-messages = "0.6.1"
base64 = "0.22.1"
clap = { version = "4.5.8", features = ["cargo", "derive", "unicode"] }
dotenvy = "0.15.7"
envy = "0.4.2"
heck = "0.5.0"
ipnetwork = "0.20.0"
itertools = "0.13.0"
mimalloc = "0.1.43"
moka = { version = "0.12.8", features = ["future"] }
num = "0.4.3"
once_cell = { version = "1.19.0", features = ["parking_lot"] }
password-auth = "1.0.0"
proctitle = "0.1.1"
rand = "0.8.5"
regex = "1.10.5"
rpassword = "7.3.1"
sea-orm = { version = "1.0.0-rc.7", features = ["macros", "runtime-tokio-native-tls", "with-time"] }
serde = { version = "1.0.204", features = ["derive"] }
subtle = { version = "2.6.1", features = ["core_hint_black_box", "const-generics"] }
systemd-duration = { version = "0.2.0", features = ["with-time"] }
thiserror = "1.0.61"
time = { version = "0.3.36", features = ["local-offset", "serde", "serde-human-readable", "serde-well-known"] }
tokio = { version = "1.38.0", features = ["macros", "parking_lot", "rt-multi-thread", "signal", "sync", "time"] }
tracing = { version = "0.1.40", features = ["async-await", "log"] }
tracing-subscriber = { version = "0.3.18", features = ["local-time", "parking_lot", "time"] }
tower = { version = "0.4.13", features = ["timeout", "tokio"] }
tower-http = { version = "0.5.2", features = ["fs", "normalize-path", "timeout", "tokio"] }
tower-sessions = { version = "0.12.2", features = ["axum-core", "private"] }
tower-sessions-moka-store = "0.13.0"
tower-sessions-redis-store = "0.13.0"
url = "2.5.2"
validator = { version = "0.18.1", features = ["derive"] }