quic-parser 0.1.5

Zero-copy QUIC Initial packet parser with optional payload decryption.
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.93"
name = "quic-parser"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-copy QUIC Initial packet parser with optional payload decryption."
readme = "README.md"
keywords = [
    "quic",
    "parser",
    "network",
    "initial",
    "decrypt",
]
categories = [
    "network-programming",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/canmi21/quic-parser.git"

[package.metadata.docs.rs]
features = ["full"]

[features]
aws-lc-rs = [
    "dep:aws-lc-rs",
    "dep:aes",
]
default = ["ring"]
full = [
    "ring",
    "tracing",
]
ring = [
    "dep:ring",
    "dep:aes",
]
tracing = ["dep:tracing"]

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

[[example]]
name = "decrypt_initial"
path = "examples/decrypt_initial.rs"
required-features = ["ring"]

[[example]]
name = "parse_header"
path = "examples/parse_header.rs"

[[test]]
name = "decrypt"
path = "tests/decrypt.rs"

[[test]]
name = "header"
path = "tests/header.rs"

[[test]]
name = "varint"
path = "tests/varint.rs"

[dependencies.aes]
version = "0.8"
optional = true

[dependencies.aws-lc-rs]
version = "1"
features = ["unstable"]
optional = true

[dependencies.ring]
version = "0.17"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"
optional = true
default-features = false

[dev-dependencies]

[lints.clippy]
await_holding_lock = "warn"
dbg_macro = "warn"
empty_enums = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
exit = "warn"
filter_map_next = "warn"
fn_params_excessive_bools = "warn"
if_let_mutex = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
inefficient_to_string = "warn"
linkedlist = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
must_use_candidate = "warn"
needless_borrow = "warn"
needless_continue = "warn"
needless_pass_by_ref_mut = "warn"
needless_pass_by_value = "warn"
option_option = "warn"
redundant_clone = "warn"
ref_option = "warn"
rest_pat_in_fully_bound_structs = "warn"
return_self_not_must_use = "warn"
single_match_else = "warn"
str_to_string = "warn"
suboptimal_flops = "warn"
todo = "warn"
trivially_copy_pass_by_ref = "warn"
type_complexity = "allow"
uninlined_format_args = "warn"
unnested_or_patterns = "warn"
unused_self = "warn"
use_self = "warn"
verbose_file_reads = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1