A very performant and light (2mb in memory) link shortener and tracker. Written in Rust and React and uses Postgres/SQLite.
1[package]
2name = "simplelink"
3version = "0.1.0"
4edition = "2021"
5
6[lib]
7name = "simplelink"
8path = "src/lib.rs"
9
10[dependencies]
11rust-embed = "6.8"
12jsonwebtoken = "9"
13actix-web = "4.4"
14actix-files = "0.6"
15actix-cors = "0.6"
16tokio = { version = "1.43", features = ["rt-multi-thread", "macros"] }
17sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "sqlite", "chrono"] }
18serde = { version = "1.0", features = ["derive"] }
19serde_json = "1.0"
20anyhow = "1.0"
21thiserror = "1.0"
22tracing = "0.1"
23tracing-subscriber = "0.3"
24uuid = { version = "1.7", features = ["v4"] } # Remove serde if not using UUID serialization
25base62 = "2.0"
26clap = { version = "4.5", features = ["derive"] }
27dotenv = "0.15"
28chrono = { version = "0.4", features = ["serde"] }
29regex = "1.10"
30lazy_static = "1.4"
31argon2 = "0.5.3"
32rand = { version = "0.8", features = ["std"] }
33mime_guess = "2.0.5"
34futures = "0.3.31"