Cargo Features

[dependencies]
fire-http = { version = "0.5.0-beta.2", default-features = false, features = ["json", "fs", "http1", "http2", "ws", "graphql", "sentry"] }
default = http1

The http1 feature is set by default whenever fire-http is added without default-features = false somewhere in the dependency tree.

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, ws of fire-http-codegen

Affects fire-http::ws

graphql = json

GraphQl is unstable

Enables juniper ^0.15

Affects fire-http::graphql

sentry

Enables sentry-core