Cargo Features

skynet_api has no features set by default.

[dependencies]
skynet_api = { version = "0.3.21", features = ["serde", "database", "extra-utils", "config", "logger", "permission", "permission-item", "permission-checker", "skynet", "request", "request-pagination", "request-condition", "request-param", "request-route", "request-req", "viewer", "service", "service-result", "service-skynet", "plugin", "plugin-basic", "plugin-request", "plugin-api", "actix-ws", "futures"] }
serde config? database? logger? permission-item? plugin-basic? request-pagination? service-result?

Enables serde, serde-inline-default, serde_json, serde_repr, and serde_with

Affects skynet_api::serializer

database viewer? = serde

Enables chrono and sea-orm, seaorm of actix-cloud-codegen

Affects skynet_api::entity

extra-utils

Enables base64 and infer

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 skynet? viewer? = permission-checker, permission-item
permission-item permission? permission-checker? request-req? = serde

Enables derivative and enum-map

permission-checker permission? request-route? = permission-item

Enables parking_lot and rhai

skynet plugin-request? = config, logger, permission

Affects skynet_api::skynet

request = request-condition, request-pagination, request-param, request-req, request-route
request-pagination request? request-condition? = serde

Enables async-trait, derivative, sea-orm, and validator ^0.18

request-condition request? request-param? viewer? = request-pagination

Enables enum-as-inner

request-param request? = request-condition

Enables paste, utils of actix-cloud

request-route plugin-request? request? = permission-checker

Enables csrf and serde of actix-cloud

request-req plugin-request? request? = permission-item

Enables request, serde and traceid of actix-cloud

viewer = database, permission, request-condition

Enables argon2, base64, and skynet_macro, memorydb and utils of actix-cloud

Affects skynet_api::viewer

service = service-result, service-skynet
service-result plugin-request? service? service-skynet? = serde

Enables derivative

service-skynet service? = plugin-basic, service-result

Enables ffi_rpc

Affects service::skynet, logger::PLUGIN_LOGGER, logger::PLUGIN_LOGGERGUARD

plugin = plugin-api, plugin-basic, plugin-request
plugin-basic plugin? plugin-api? plugin-request? service-skynet? = serde

Enables bytes, bytestring, enum-as-inner, and thiserror ^1.0

Affects skynet_api::plugin

plugin-request plugin? plugin-api? = plugin-basic, request-req, request-route, service-result, skynet

Enables ahash and ffi_rpc, state of actix-cloud

plugin-api plugin? = plugin-basic, plugin-request

Affects plugin::api, logger::PLUGIN_LOGGER, logger::PLUGIN_LOGGERGUARD

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.

actix-cloud config? logger? plugin-request? request-param? request-req? request-route? viewer?
actix-cloud-codegen database?
actix-ws implicit feature

Enables actix-ws

actix-ws:

WebSockets for Actix Web, without actors

futures implicit feature