Cargo Features
[dependencies]
chuchi = { version = "0.1.3", default-features = false, features = ["json", "fs", "http1", "http2", "ws", "graphql", "sentry", "api", "api-stream", "testing"] }
- default = http1
-
The
http1
feature is set by default wheneverchuchi
is added without
somewhere in the dependency tree.default-features = false - json api? graphql?
-
Enables serde and serde_json, json of chuchi-codegen and chuchi-core
Affects
chuchi::json
… - fs
-
Enables percent-encoding and rand, fs of tokio
Affects
chuchi::fs
… - http1 default
-
Enables http1 of hyper-util
- http2
-
Enables http2 of hyper-util
- ws api-stream?
-
Enables base64, futures-util, sha-1, and tokio-tungstenite ^0.23, ws of chuchi-codegen
Affects
chuchi::ws
… - graphql = json
-
GraphQl is unstable
Enables juniper
Affects
chuchi::graphql
… - sentry
-
Enables sentry-core ^0.34
- api api-stream? = json
-
Enables api of chuchi-codegen, query of chuchi-core
Affects
chuchi::api
… - api-stream = api, ws
-
Enables macros of tokio and stream of chuchi-codegen
chuchi-codegen:
requires the api feature to be set
Affects
api::stream
… - testing