|
|
|
[package]
|
|
|
|
name = "soudan"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["ElnuDev <elnu@elnu.com>"]
|
|
|
|
edition = "2021"
|
|
|
|
description = "A Rust-based comment server using SQLite and an intuitive REST API."
|
|
|
|
homepage = "https://github.com/ElnuDev/soudan/"
|
|
|
|
repository = "https://github.com/ElnuDev/soudan/"
|
|
|
|
license = "GPL-3.0"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
actix-web = "4"
|
|
|
|
actix-cors = "0.6.1"
|
|
|
|
rusqlite = { version = "0.27.0", features = ["chrono", "bundled"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|
|
|
|
validator = { version = "0.15.0", features = ["derive"] }
|
|
|
|
md5 = "0.7.0"
|
|
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
|
|
reqwest = "0.11.11"
|
|
|
|
scraper = "0.13.0"
|
|
|
|
sanitize_html = "0.7.0"
|
|
|
|
clap = { version = "3.2.14", features = ["derive"] }
|
|
|
|
serde_yaml = "0.9.2"
|
|
|
|
derive_more = "0.99.17"
|