# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74" name = "fire-http" version = "0.5.0" authors = ["Sören Meier "] description = "Http async library based on hyper and tokio" readme = "README.md" categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/fire-lib/fire-http" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "catcher" test = true [[example]] name = "cors" test = true [[example]] name = "hello_world" test = true [[example]] name = "post" test = true [[example]] name = "read_json" test = true required-features = ["json"] [[example]] name = "static_files" test = true required-features = ["fs"] [[example]] name = "with_file" test = true required-features = ["fs"] [[example]] name = "write_json" test = true required-features = ["json"] [[test]] name = "json" required-features = ["json"] [[test]] name = "fs" required-features = ["fs"] [[test]] name = "ws" required-features = ["ws"] [dependencies.base64] version = "0.22" optional = true [dependencies.byte-parser] version = "0.2" [dependencies.bytes] version = "1.0" [dependencies.codegen] version = "0.3.0" package = "fire-http-codegen" [dependencies.futures-util] version = "0.3.5" optional = true default-features = false [dependencies.hyper] version = "1.2" features = ["server"] [dependencies.hyper-util] version = "0.1.3" features = [ "tokio", "server", ] [dependencies.juniper] version = "0.16" optional = true default-features = false [dependencies.matchit] version = "0.8" [dependencies.percent-encoding] version = "2.1" optional = true [dependencies.rand] version = "0.8" optional = true [dependencies.sentry-core] version = "0.34" features = ["client"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.sha-1] version = "0.10" optional = true [dependencies.thiserror] version = "1.0.58" [dependencies.tokio] version = "1.0" features = ["net"] [dependencies.tokio-tungstenite] version = "0.23" optional = true default-features = false [dependencies.tracing] version = "0.1" [dependencies.types] version = "0.4.0" package = "fire-http-representation" [dev-dependencies.hyper] version = "1.2" features = [ "server", "client", ] [dev-dependencies.hyper-util] version = "0.1" features = [ "client", "client-legacy", ] [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.tracing-test] version = "0.2.4" features = ["no-env-filter"] [features] default = ["http1"] fs = [ "tokio/fs", "dep:percent-encoding", "dep:rand", ] graphql = [ "json", "dep:juniper", ] http1 = ["hyper-util/http1"] http2 = ["hyper-util/http2"] json = [ "dep:serde", "dep:serde_json", "types/json", "codegen/json", ] sentry = ["dep:sentry-core"] ws = [ "dep:tokio-tungstenite", "dep:futures-util", "dep:base64", "dep:sha-1", "codegen/ws", ]