Cargo Features
[dependencies]
kvarn-extensions = { version = "0.6.2", default-features = false, features = ["connection", "php", "templates", "push", "reverse-proxy", "certificate", "view-counter", "uring"] }
- default = php, push, templates, view-counter
-
These default features are set whenever
kvarn-extensions
is added without
somewhere in the dependency tree.default-features = false - connection php reverse-proxy?
-
Enables io-util and net of tokio
Affects
kvarn-extensions::connection
… - php default = connection, kvarn-fastcgi-client, percent-encoding
-
Affects
kvarn-extensions::php
… - templates default
-
Affects
kvarn-extensions::templates
… - push default = url-crawl
-
Affects
kvarn-extensions::push
… - reverse-proxy = connection, url-crawl
-
Affects
kvarn-extensions::reverse_proxy
… - certificate = rand, rcgen, ron, rustls, rustls-pemfile, small-acme, x509-parser
-
Automatic HTTPS certificates
Affects
kvarn-extensions::certificate
… - view-counter default = dashmap
-
Affects
kvarn-extensions::view_counter
… - uring = tokio-uring
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- kvarn-fastcgi-client php
-
Affects
kvarn-extensions::fastcgi
… - tokio-uring uring?
-
Enables kvarn-tokio-uring
- percent-encoding php
- url-crawl push reverse-proxy?
- small-acme certificate?
- x509-parser certificate?
- rustls certificate?
- ron certificate?
-
Enables ron
serialize credentials
- rcgen certificate?
- rustls-pemfile certificate?
- rand certificate?
- dashmap view-counter