pativu/Cargo.toml

105 lines
2.8 KiB
TOML

[package]
name = "pativu"
version = "0.1.0"
edition = "2021"
repository = "https://git.batsense.net/realaravinth/pativu"
homepage = "https://git.batsense.net/realaravinth/pativu"
documentation = "https://git.batsense.net/realaravinth/pativu"
readme = "README.md"
license = "AGPLv3 or later version"
authors = ["realaravinth <realaravinth@batsense.net>"]
build = "build.rs"
#[dependencies]
#actix-web = "4"
#futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
#lazy_static = "1.4.0"
#log = "0.4.17"
#pretty_env_logger = "0.4.0"
#serde = { version = "1", features=["derive"]}
#actix-web-codegen-const-routes = { version = "0.1.0", tag = "0.1.0", git = "https://github.com/realaravinth/actix-web-codegen-const-routes" }
#derive_builder = "0.11.2"
#config = "0.11"
#derive_more = "0.99.17"
#url = { version = "2.2.2", features = ["serde"]}
#serde_json = { version ="1", features = ["raw_value"]}
#clap = { vesrion = "3.2.20", features = ["derive"]}
[build-dependencies]
serde_json = "1"
sqlx = { version = "0.6.1", features = [ "runtime-actix-rustls", "sqlite", "time", "offline"] }
#[dev-dependencies]
#actix-rt = "2.7.0"
#base64 = "0.13.0"
[dependencies]
actix-web = "4.0.1"
actix-http = "3.0.4"
actix-identity = "0.4.0"
actix-rt = "2"
actix-web-codegen-const-routes = { version = "0.1.0", tag = "0.1.0", git = "https://github.com/realaravinth/actix-web-codegen-const-routes" }
argon2-creds = { branch = "master", git = "https://github.com/realaravinth/argon2-creds"}
sqlx = { version = "0.6.2", features = ["sqlite", "time", "offline", "runtime-actix-rustls", "uuid", "json"] }
clap = { version = "3.2.20", features = ["derive"]}
config = "0.13"
serde = { version = "1", features = ["derive", "rc"]}
serde_json = "1"
pretty_env_logger = "0.4"
lazy_static = "1.4"
url = { version = "2.2", features = ["serde"] }
urlencoding = "2.1.0"
derive_more = "0.99"
num_cpus = "1.13"
tokio = { version = "1", features=["sync", "fs"]}
num_enum = "0.5.7"
mime_guess = "2.0.4"
mime = "0.3.16"
rust-embed = "6.3.0"
rand = "0.8.5"
tracing = { version = "0.1.37", features = ["log"]}
tracing-actix-web = "0.6.2"
toml = "0.5.9"
serde_yaml = "0.9.14"
uuid = { version = "1.2.2", features = ["serde"] }
reqwest = { version = "0.11.13", features = ["rustls-tls-native-roots", "stream", "gzip", "deflate", "brotli", "json"]}
futures-util = "0.3.25"
lol_html = "0.3.1"
scraper = "0.13.0"
[dependencies.cache-buster]
git = "https://github.com/realaravinth/cache-buster"
[dependencies.tera]
default-features = false
version = "1.15.0"
[dependencies.actix-auth-middleware]
branch = "v4"
features = ["actix_identity_backend"]
git = "https://github.com/realaravinth/actix-auth-middleware"
version = "0.2"
[dev-dependencies]
futures = "0.3.24"
mktemp = "0.4.1"
[workspace]
exclude = ["utils/cache-bust"]