praxis-proxy-core 0.1.0

Configuration, error types, and server factory for Praxis
Documentation
# 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 = "2024"
rust-version = "1.94"
name = "praxis-proxy-core"
version = "0.1.0"
authors = ["Shane Utt <shaneutt@linux.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configuration, error types, and server factory for Praxis"
readme = "README.md"
license = "LGPL-3.0-only"
repository = "https://github.com/praxis-proxy/praxis"

[lib]
name = "praxis_core"
path = "src/lib.rs"

[dependencies.pingora-core]
version = "0.8.0"
features = ["rustls"]

[dependencies.praxis-tls]
version = "0.1.0"
package = "praxis-proxy-tls"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "json",
]

[lints.clippy]
allow_attributes_without_reason = "deny"
await_holding_lock = "deny"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
checked_conversions = "deny"
clone_on_ref_ptr = "deny"
cloned_instead_of_copied = "deny"
cognitive_complexity = "deny"
collection_is_never_read = "deny"
dbg_macro = "deny"
debug_assert_with_mut_call = "deny"
default_trait_access = "deny"
doc_markdown = "deny"
empty_drop = "deny"
empty_line_after_outer_attr = "allow"
enum_glob_use = "deny"
expect_used = "warn"
expl_impl_clone_on_copy = "deny"
explicit_into_iter_loop = "deny"
explicit_iter_loop = "deny"
flat_map_option = "deny"
fn_params_excessive_bools = "deny"
from_iter_instead_of_collect = "deny"
future_not_send = "deny"
if_not_else = "deny"
implicit_clone = "deny"
inconsistent_struct_constructor = "deny"
indexing_slicing = "warn"
inefficient_to_string = "deny"
items_after_statements = "deny"
large_enum_variant = "deny"
large_futures = "deny"
large_types_passed_by_value = "deny"
macro_use_imports = "deny"
manual_assert = "deny"
manual_clamp = "deny"
manual_instant_elapsed = "deny"
manual_let_else = "deny"
manual_ok_or = "deny"
manual_string_new = "deny"
map_err_ignore = "deny"
map_unwrap_or = "deny"
match_bool = "deny"
match_same_arms = "deny"
match_wildcard_for_single_variants = "deny"
missing_assert_message = "deny"
missing_docs_in_private_items = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
missing_safety_doc = "deny"
mut_mut = "deny"
mutex_atomic = "deny"
mutex_integer = "deny"
needless_borrow = "deny"
needless_continue = "deny"
needless_for_each = "deny"
needless_pass_by_ref_mut = "deny"
needless_pass_by_value = "deny"
needless_raw_string_hashes = "deny"
needless_raw_strings = "deny"
no_effect_underscore_binding = "deny"
option_option = "deny"
or_fun_call = "deny"
panic = "warn"
print_stderr = "deny"
print_stdout = "deny"
ptr_as_ptr = "deny"
range_plus_one = "deny"
rc_buffer = "deny"
redundant_closure_for_method_calls = "deny"
redundant_else = "deny"
redundant_type_annotations = "deny"
ref_option_ref = "deny"
rest_pat_in_fully_bound_structs = "deny"
return_self_not_must_use = "deny"
same_functions_in_if_condition = "deny"
semicolon_if_nothing_returned = "deny"
significant_drop_in_scrutinee = "deny"
significant_drop_tightening = "warn"
single_match_else = "deny"
stable_sort_primitive = "deny"
str_to_string = "deny"
string_add = "deny"
string_add_assign = "deny"
string_lit_as_bytes = "deny"
struct_excessive_bools = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
trait_duplication_in_bounds = "deny"
trivially_copy_pass_by_ref = "deny"
type_repetition_in_bounds = "deny"
undocumented_unsafe_blocks = "deny"
uninlined_format_args = "deny"
unnecessary_wraps = "deny"
unnested_or_patterns = "deny"
unreadable_literal = "deny"
unused_async = "deny"
unused_self = "deny"
unwrap_used = "deny"
used_underscore_binding = "deny"
vec_init_then_push = "deny"
verbose_bit_mask = "deny"
wildcard_imports = "deny"
zero_sized_map_values = "deny"

[lints.rust]
dead_code = "deny"
elided_lifetimes_in_paths = "deny"
let_underscore_drop = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_debug_implementations = "allow"
missing_docs = "deny"
non_ascii_idents = "deny"
noop_method_call = "deny"
redundant_lifetimes = "deny"
single_use_lifetimes = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_pub = "deny"
unused_extern_crates = "deny"
unused_imports = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"
unused_variables = "deny"