Cargo Features
ayun-core has no features set by default.
[dependencies]
ayun-core = { version = "0.18.0", features = ["anyhow", "eyre", "color-eyre", "console", "server", "schedule", "auth", "config", "hash", "logger", "database", "redis", "runtime", "storage"] }
- anyhow
-
error
Enables anyhow
optional
Affects
error::ErrorTrait.anyhow
… - eyre
-
Enables eyre
Affects
error::ErrorTrait.eyre
… - color-eyre
-
Enables color-eyre
- console
-
service
Affects
application::ApplicationTrait.with_console
… - server
-
Enables axum
Affects
application::ApplicationTrait.with_routing
,service::ServiceTrait.routes
… - schedule
-
Affects
application::ApplicationTrait.with_schedule
… - auth
-
support
Enables jsonwebtoken
- config runtime?
-
Enables dotenvy, parse of toml and derive of serde
serde:
Provide derive(Serialize, Deserialize) macros.
Affects
ayun-core::config
… - hash
- logger
-
Enables std of tracing-subscriber
- database
-
Enables sea-orm-migration
- redis
-
Enables bb8-redis ^0.16.0
- runtime = config
-
Enables tracing, macros, rt-multi-thread and signal of tokio
Affects
facades::daemon
,facades::shutdown
… - storage
-
Enables object_store
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.