# 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" name = "preroll" version = "0.10.1" authors = ["Jeremiah Senkpiel "] description = "Easy boilerplate utilities for Rust http services which use async-std, Tide, Surf, and friends." readme = "README.md" keywords = [ "tide", "surf", "sqlx", "honeycomb", ] categories = ["web-programming::http-server"] license = "BlueOak-1.0.0" repository = "https://github.com/eaze/preroll" resolver = "2" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.anyhow] version = "1.0" [dependencies.async-std] version = "1.8" features = [ "attributes", "std", "async-global-executor", "async-io", "futures-lite", "kv-log-macro", "log", "num_cpus", "pin-project-lite", ] default-features = false [dependencies.base64] version = "0.13" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.color-eyre] version = "0.5" [dependencies.dotenv] version = "0.15" [dependencies.env_logger] version = "0.9" [dependencies.gethostname] version = "0.2" [dependencies.http-client] version = "6.5.1" features = [ "h1_client", "rustls", ] default-features = false [dependencies.kv-log-macro] version = "1.0" [dependencies.lazy_static] version = "1.4" [dependencies.libhoney-rust] version = "0.1.4" optional = true [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1.5" [dependencies.petname] version = "1.1.2" features = [ "std_rng", "default_dictionary", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sqlx] version = "0.5" features = [ "runtime-async-std-rustls", "postgres", "json", "chrono", "uuid", ] optional = true [dependencies.surf] version = "2.3" features = [ "h1-client-rustls", "encoding", ] default-features = false [dependencies.thiserror] version = "1.0" optional = true [dependencies.tide] version = "0.16" features = ["h1-server"] default-features = false [dependencies.tide-lambda-listener] version = "0.1.3" optional = true [dependencies.tide-sqlx] version = "0.6" features = [ "rustls", "postgres", "tracing", ] optional = true default-features = false [dependencies.tracing] version = "0.1" optional = true [dependencies.tracing-futures] version = "0.2" optional = true [dependencies.tracing-honeycomb] version = "0.4" optional = true [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "registry", ] optional = true default-features = false [dependencies.uuid] version = "0.8" features = [ "serde", "v4", ] [dev-dependencies.cargo-husky] version = "1" features = ["user-hooks"] default-features = false [features] _beeline = [ "base64", "thiserror", ] _tracing = [ "tracing", "tracing-futures", "tracing-honeycomb", "tracing-subscriber", ] all = [ "honeycomb", "postgres", ] custom_middleware = [] docs = ["all"] honeycomb = [ "_beeline", "_tracing", "libhoney-rust", ] lambda-http = ["tide-lambda-listener"] panic-on-error = [] postgres = [ "sqlx", "tide-sqlx", ] test = []