-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (40 loc) · 1.09 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
version = "0.2.2"
name = "aigis-bin"
description = "Binary for Aigis, a simple and configurable content proxy."
authors = ["Blooym"]
categories = ["web-programming::http-server", "multimedia:images"]
license = "MIT OR Apache-2.0"
keywords = ["proxy"]
repository = "https://github.com/Blooym/aigis"
rust-version = "1.74"
edition = "2021"
[workspace]
members = ["crates/core"]
[[bin]]
name = "aigis"
path = "crates/cli/src/main.rs"
[profile.release]
lto = true
codegen-units = 1
strip = true
[features]
default = ["rustls-tls", "cache-moka"]
# TLS Backends
rustls-tls = ["aigis/rustls-tls"]
native-tls = ["aigis/native-tls"]
# Caching Backends
cache-moka = ["aigis/cache-moka"]
cache-cacache = ["aigis/cache-cacache"]
[dependencies]
anyhow = "1.0.89"
aigis = { version = "0.2.2", path = "crates/core", default-features = false }
bytesize = "1.3.0"
clap = { version = "4.5.18", features = ["derive", "env"] }
dotenvy = "0.15.7"
tokio = { version = "1.40.0", features = [
"macros",
"rt-multi-thread",
"parking_lot",
] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }