feat: wip - configuration design
This commit is contained in:
parent
63ee953912
commit
887e6b64b0
13 changed files with 173 additions and 11 deletions
|
|
@ -13,14 +13,15 @@ publish.workspace = true
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[features]
|
||||
default = ["http3-quinn", "cache", "rustls-backend"]
|
||||
# default = ["http3-s2n", "cache", "rustls-backend"]
|
||||
default = ["http3-quinn", "cache", "rustls-backend", "acme"]
|
||||
# default = ["http3-s2n", "cache", "rustls-backend", "acme"]
|
||||
http3-quinn = ["rpxy-lib/http3-quinn"]
|
||||
http3-s2n = ["rpxy-lib/http3-s2n"]
|
||||
native-tls-backend = ["rpxy-lib/native-tls-backend"]
|
||||
rustls-backend = ["rpxy-lib/rustls-backend"]
|
||||
webpki-roots = ["rpxy-lib/webpki-roots"]
|
||||
cache = ["rpxy-lib/cache"]
|
||||
acme = ["rpxy-lib/acme", "rpxy-acme"]
|
||||
|
||||
[dependencies]
|
||||
rpxy-lib = { path = "../rpxy-lib/", default-features = false, features = [
|
||||
|
|
@ -56,4 +57,6 @@ rpxy-certs = { path = "../rpxy-certs/", default-features = false, features = [
|
|||
"http3",
|
||||
] }
|
||||
|
||||
rpxy-acme = { path = "../rpxy-acme/", default-features = false, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue