Cargo Features
[dependencies]
reign = { version = "0.2.1", default-features = false, features = ["cli", "framework", "view", "router-backend", "view-backend", "session-redis", "file-handlers", "doc"] }
- default = framework, view-backend
-
These default features are set whenever
reign
is added without
somewhere in the dependency tree.default-features = false - cli = clap
-
Required by the binary
- framework default = reign_boot
- view view-backend = reign_view
-
Enables view of reign_derive
- router-backend file-handlers? session-redis? view-backend = reign_router
-
Enables router-backend of reign_derive
- view-backend default = router-backend, view
-
Enables view-backend of reign_derive and reign_view
- session-redis = router-backend
-
Enables session-redis of reign_router
- file-handlers = router-backend
-
Enables file-handlers of reign_router
- doc
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.
- reign_boot framework
-
Enables reign_boot
lib deps
- reign_derive router-backend? view? view-backend
- reign_router file-handlers? router-backend? session-redis?
- reign_view view? view-backend
- clap cli?
-
Enables clap ^3.0.0-beta.1
cli deps