[dependencies.async-trait]
version = "0.1.42"
[dependencies.http]
version = "1.0.0"
[dependencies.log]
version = "0.4"
[dependencies.module-utils]
version = "0.2.0"
[dependencies.pingora-core]
version = "0.2.0"
[dependencies.pingora-proxy]
version = "0.2.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.structopt]
version = "0.3"
[lib]
name = "upstream_module"
path = "src/lib.rs"
[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"
[package]
authors = ["Wladimir Palant"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "web-programming::http-server"]
description = """
A helper module to configure Pingora's upstream selection.
"""
edition = "2021"
keywords = ["proxy", "reverse-proxy", "web-server", "http", "pingora"]
license = "Apache-2.0"
name = "upstream-module"
readme = "README.md"
repository = "https://github.com/palant/pingora-utils"
version = "0.2.0"