2020-10-26 09:25:59 +13:00
|
|
|
[package]
|
2023-12-27 12:25:52 +13:00
|
|
|
name = "redlib"
|
2020-10-26 17:09:06 +13:00
|
|
|
description = " Alternative private front-end to Reddit"
|
2024-08-08 06:09:54 +12:00
|
|
|
license = "AGPL-3.0-only"
|
2023-12-27 12:25:52 +13:00
|
|
|
repository = "https://github.com/redlib-org/redlib"
|
2024-06-30 05:28:18 +12:00
|
|
|
version = "0.35.1"
|
2023-12-27 18:19:54 +13:00
|
|
|
authors = [
|
|
|
|
"Matthew Esposito <matt+cargo@matthew.science>",
|
|
|
|
"spikecodes <19519553+spikecodes@users.noreply.github.com>",
|
|
|
|
]
|
2021-12-27 18:18:20 +13:00
|
|
|
edition = "2021"
|
2024-10-22 13:54:05 +13:00
|
|
|
default-run = "redlib"
|
2020-10-26 09:25:59 +13:00
|
|
|
|
|
|
|
[dependencies]
|
2024-10-03 10:43:13 +13:00
|
|
|
rinja = { version = "0.3.4", default-features = false }
|
2024-11-20 05:37:30 +13:00
|
|
|
cached = { version = "0.54.0", features = ["async"] }
|
2023-12-27 18:19:54 +13:00
|
|
|
clap = { version = "4.4.11", default-features = false, features = [
|
|
|
|
"std",
|
|
|
|
"env",
|
2024-10-22 13:54:05 +13:00
|
|
|
"derive",
|
2023-12-27 18:19:54 +13:00
|
|
|
] }
|
2023-12-27 10:12:42 +13:00
|
|
|
regex = "1.10.2"
|
|
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
2023-12-27 10:24:53 +13:00
|
|
|
cookie = "0.18.0"
|
2024-02-07 02:01:59 +13:00
|
|
|
futures-lite = "2.2.0"
|
2024-11-20 05:08:00 +13:00
|
|
|
hyper = { version = "0.14.31", features = ["full"] }
|
2023-12-27 11:50:56 +13:00
|
|
|
percent-encoding = "2.3.1"
|
2021-10-26 17:27:55 +13:00
|
|
|
route-recognizer = "0.3.1"
|
2024-11-20 05:37:30 +13:00
|
|
|
serde_json = "1.0.133"
|
2023-12-27 11:50:56 +13:00
|
|
|
tokio = { version = "1.35.1", features = ["full"] }
|
|
|
|
time = { version = "0.3.31", features = ["local-offset"] }
|
|
|
|
url = "2.5.0"
|
|
|
|
rust-embed = { version = "8.1.0", features = ["include-exclude"] }
|
|
|
|
libflate = "2.0.0"
|
2024-10-03 07:18:41 +13:00
|
|
|
brotli = { version = "7.0.0", features = ["std"] }
|
2023-12-27 11:50:56 +13:00
|
|
|
toml = "0.8.8"
|
|
|
|
once_cell = "1.19.0"
|
|
|
|
serde_yaml = "0.9.29"
|
|
|
|
build_html = "2.4.0"
|
|
|
|
uuid = { version = "1.6.1", features = ["v4"] }
|
2024-05-30 12:05:56 +12:00
|
|
|
base64 = "0.22.1"
|
2023-12-27 11:50:56 +13:00
|
|
|
fastrand = "2.0.1"
|
|
|
|
log = "0.4.20"
|
2023-06-07 06:33:01 +12:00
|
|
|
pretty_env_logger = "0.5.0"
|
|
|
|
dotenvy = "0.15.7"
|
2024-07-22 06:09:34 +12:00
|
|
|
rss = "2.0.7"
|
2024-06-29 10:14:47 +12:00
|
|
|
arc-swap = "1.7.1"
|
2024-11-20 05:37:30 +13:00
|
|
|
serde_json_path = "0.7.1"
|
2024-09-22 07:44:27 +12:00
|
|
|
async-recursion = "1.1.1"
|
2024-11-16 10:53:00 +13:00
|
|
|
common-words-all = { version = "0.0.2", default-features = false, features = ["english", "one"] }
|
2024-11-20 09:48:42 +13:00
|
|
|
hyper-rustls = { version = "0.24.2", features = [ "http2" ] }
|
2022-11-04 17:04:34 +13:00
|
|
|
|
2024-07-22 06:09:34 +12:00
|
|
|
|
2022-11-04 17:04:34 +13:00
|
|
|
[dev-dependencies]
|
2023-06-04 06:07:09 +12:00
|
|
|
lipsum = "0.9.0"
|
2023-01-03 22:55:22 +13:00
|
|
|
sealed_test = "1.0.0"
|
2023-01-02 10:33:31 +13:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
|
|
|
lto = true
|
2023-01-21 21:35:49 +13:00
|
|
|
strip = "symbols"
|
2024-10-22 13:54:05 +13:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "redlib"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "scraper"
|
2024-11-01 15:48:19 +13:00
|
|
|
path = "src/scraper/main.rs"
|