# 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 = "static-files-module" version = "0.2.0" authors = ["Wladimir Palant"] build = false exclude = ["testdata/"] autobins = false autoexamples = false autotests = false autobenches = false description = """ A module for serving static files with Pingora. """ readme = "README.md" keywords = [ "static", "static-files", "web-server", "http", "pingora", ] categories = [ "network-programming", "web-programming::http-server", ] license = "Apache-2.0" repository = "https://github.com/palant/pingora-utils" [lib] name = "static_files_module" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.42" [dependencies.bytes] version = "1.0" [dependencies.http] version = "1.0.0" [dependencies.httpdate] version = "1" [dependencies.log] version = "0.4" [dependencies.mime_guess] version = "2.0.4" default-features = false [dependencies.module-utils] version = "0.2.0" [dependencies.percent-encoding] version = "2.1" [dependencies.pingora-core] version = "0.2.0" [dependencies.pingora-http] version = "0.2.0" [dependencies.pingora-proxy] version = "0.2.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.structopt] version = "0.3" [dev-dependencies.async-trait] version = "0.1.42" [dev-dependencies.const_format] version = "0.2.32" [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.serde_yaml] version = "0.8" [dev-dependencies.test-log] version = "=0.2.13" [dev-dependencies.tokio] version = "1" [dev-dependencies.tokio-test] version = "0.4" [lints.clippy] dbg_macro = "warn" empty_enum = "warn" enum_glob_use = "warn" exit = "warn" filter_map_next = "warn" fn_params_excessive_bools = "warn" imprecise_flops = "warn" inefficient_to_string = "warn" linkedlist = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" match_on_vec_items = "warn" mem_forget = "warn" needless_continue = "warn" option_option = "warn" rest_pat_in_fully_bound_structs = "warn" str_to_string = "warn" suboptimal_flops = "warn" todo = "warn" unnested_or_patterns = "warn" unused_self = "warn" verbose_file_reads = "warn" [lints.rust] elided_lifetimes_in_paths = "deny" explicit_outlives_requirements = "deny" keyword_idents = "deny" macro_use_extern_crate = "deny" meta_variable_misuse = "deny" missing_debug_implementations = "deny" missing_docs = "warn" non_ascii_idents = "deny" rust_2018_idioms = "deny" single_use_lifetimes = "deny" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_pub = "deny" unsafe_code = "forbid" unstable_features = "deny" unused_import_braces = "deny" unused_lifetimes = "deny" unused_macro_rules = "warn" unused_qualifications = "warn" variant_size_differences = "deny"