Cargo Features
[dependencies]
fire-http = { version = "0.5.0", default-features = false, features = ["json", "fs", "http1", "http2", "ws", "graphql", "sentry"] }
- default = http1
-
The
http1
feature is set by default wheneverfire-http
is added without
somewhere in the dependency tree.default-features = false - json graphql?
-
Enables serde and serde_json, json of fire-http-codegen, json of fire-http-representation
Affects
fire-http::json
… - fs
-
Enables percent-encoding and rand, fs of tokio
Affects
fire-http::fs
… - http1 default
-
Enables http1 of hyper-util
- http2
-
Enables http2 of hyper-util
- ws
-
Enables base64, futures-util, sha-1, and tokio-tungstenite ^0.23, ws of fire-http-codegen
Affects
fire-http::ws
… - graphql = json
-
GraphQl is unstable
Enables juniper
Affects
fire-http::graphql
… - sentry
-
Enables sentry-core