Cargo Features
[dependencies]
cc-utils = { version = "0.2.22", default-features = false, features = ["base64", "salvo", "reqwest", "bb8-redis", "bb8-mongo", "sea-orm", "dotenv", "log4rs", "serde-yaml", "uuid", "sqlx", "web-sys", "web-ws"] }
- default = base64, bb8-mongo, bb8-redis, dotenv, log4rs, reqwest, salvo, sea-orm, serde-yaml, sqlx, uuid, web-sys, web-ws
-
These default features are set whenever
cc-utils
is added without
somewhere in the dependency tree.default-features = false - base64 default
-
Enables base64
- salvo default
-
Enables salvo ^0.68
Affects
errors::ErrorResponse.status_code
,errors::Consider
,requests::MsgPackParser
,responses::OK
,responses::Plain
,responses::Html
,responses::File
,responses::Json
,responses::MsgPack
,results::MResult
… - reqwest default
-
Enables reqwest
Affects
errors::ConsiderCli
,requests::MsgPackBuilder
,requests::MsgPackBuilder
,responses::MsgPackResponse
,results::CResult
… - bb8-redis default
-
Enables bb8 and bb8-redis ^0.15
- bb8-mongo default
-
Enables bb8, bb8-mongodb ^0.2, and mongodb ^2.8
- sea-orm default
-
Enables sea-orm ^0.12
- dotenv default
-
Enables dotenv
- log4rs default
-
Enables log4rs
- serde-yaml default
-
Enables serde_yaml
- uuid default
-
Enables uuid
- sqlx default
-
Enables sqlx ^0.7
- web-sys default
-
Enables web-sys
- web-ws default
-
Enables ws_stream_wasm