Cargo Features
skynet_api has no features set by default.
[dependencies]
skynet_api = { version = "0.3.1", features = ["serde", "database", "extra-utils", "config", "logger", "permission", "skynet", "request", "plugin", "viewer"] }
- serde config? database? logger? permission?
-
Enables serde, serde-inline-default, serde_json, serde_repr, and serde_with
Affects
skynet_api::serializer
… - database request? viewer? = serde
-
Enables chrono and sea-orm, seaorm of actix-cloud-codegen
Affects
skynet_api::entity
… - extra-utils
-
Affects
utils::get_dataurl
,utils::parse_dataurl
… - config skynet? = serde
-
Enables validator ^0.18, config of actix-cloud
Affects
skynet_api::config
… - logger skynet? = serde
-
Enables logger of actix-cloud
Affects
skynet_api::logger
… - permission request? skynet? = serde
-
Enables derivative, enum-map, parking_lot, and rhai
Affects
skynet_api::permission
… - skynet plugin? = config, logger, permission
-
Affects
skynet_api::skynet
… - request plugin? viewer? = database, permission
-
Enables csrf, request, router, serde, traceid and utils of actix-cloud and validator ^0.18
config
and enum-as-inner and paste
enum-as-inner:
skynet
Affects
skynet_api::request
… - plugin = request, skynet
-
Enables actix-ws, ahash, bytes, bytestring, ffi_rpc, futures, and thiserror ^1.0
Affects
skynet_api::plugin
,skynet_api::service
,logger::PLUGIN_LOGGER
,logger::PLUGIN_LOGGERGUARD
… - viewer = database, request
-
Enables memorydb and utils of actix-cloud and argon2, base64, and skynet_macro
base64:
extra-utils
Affects
skynet_api::viewer
…
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.