# 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.64" name = "simple-request" version = "0.1.0" authors = ["Luke Parker "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple HTTP(S) request library" readme = "README.md" keywords = [ "http", "https", "async", "request", "ssl", ] license = "MIT" repository = "https://github.com/serai-dex/serai/tree/develop/common/simple-request" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "simple_request" path = "src/lib.rs" [dependencies.base64ct] version = "1" features = ["alloc"] optional = true [dependencies.http-body-util] version = "0.1" default-features = false [dependencies.hyper] version = "1" features = [ "http1", "client", ] default-features = false [dependencies.hyper-rustls] version = "0.27" features = [ "http1", "ring", "rustls-native-certs", "native-tokio", ] optional = true default-features = false [dependencies.hyper-util] version = "0.1" features = [ "http1", "client-legacy", "tokio", ] default-features = false [dependencies.tokio] version = "1" default-features = false [dependencies.tower-service] version = "0.3" default-features = false [dependencies.zeroize] version = "1" optional = true [features] basic-auth = [ "zeroize", "base64ct", ] default = ["tls"] tls = ["hyper-rustls"] [lints.clippy] borrow_as_ptr = "deny" cast_lossless = "deny" cast_possible_truncation = "deny" cast_possible_wrap = "deny" cast_precision_loss = "deny" cast_ptr_alignment = "deny" cast_sign_loss = "deny" checked_conversions = "deny" cloned_instead_of_copied = "deny" enum_glob_use = "deny" expl_impl_clone_on_copy = "deny" explicit_into_iter_loop = "deny" explicit_iter_loop = "deny" flat_map_option = "deny" float_cmp = "deny" fn_params_excessive_bools = "deny" ignored_unit_patterns = "deny" implicit_clone = "deny" inefficient_to_string = "deny" invalid_upcast_comparisons = "deny" large_stack_arrays = "deny" linkedlist = "deny" macro_use_imports = "deny" manual_instant_elapsed = "deny" manual_let_else = "deny" manual_ok_or = "deny" manual_string_new = "deny" map_unwrap_or = "deny" match_bool = "deny" match_same_arms = "deny" missing_fields_in_debug = "deny" needless_continue = "deny" needless_pass_by_value = "deny" ptr_cast_constness = "deny" range_minus_one = "deny" range_plus_one = "deny" redundant_closure_for_method_calls = "deny" redundant_else = "deny" string_add_assign = "deny" unchecked_duration_subtraction = "deny" uninlined_format_args = "deny" unnecessary_box_returns = "deny" unnecessary_join = "deny" unnecessary_wraps = "deny" unnested_or_patterns = "deny" unused_async = "deny" unused_self = "deny" unwrap_or_default = "allow" zero_sized_map_values = "deny"