rewrite URL shortener in Rust
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
[package]
|
||||
name = "ushort"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.86"
|
||||
description = "A compact, self-contained URL shortener"
|
||||
|
||||
[dependencies]
|
||||
ctrlc = { version = "3.5.2", features = ["termination"] }
|
||||
include_dir = "0.7.4"
|
||||
rand = "0.10.2"
|
||||
rusqlite = { version = "0.40.1", features = ["bundled"] }
|
||||
serde = { version = "1.0.210", features = ["derive"] }
|
||||
serde_json = "1.0.128"
|
||||
tiny_http = "0.12.0"
|
||||
toml = "1.1.2"
|
||||
url = "2.5.8"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
opt-level = "z"
|
||||
panic = "abort"
|
||||
strip = true
|
||||
Reference in New Issue
Block a user