pingly 0.2.0

TLS and HTTP/1/2/3 fingerprint analysis server and Rust library
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 = "2021"
rust-version = "1.96"
name = "pingly"
version = "0.2.0"
authors = ["0x676e67 <gngppz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TLS and HTTP/1/2/3 fingerprint analysis server and Rust library"
documentation = "https://docs.rs/pingly"
readme = "README.md"
keywords = [
    "http",
    "http3",
    "quic",
    "ja3",
    "ja4",
]
license = "Apache-2.0"
repository = "https://github.com/0x676e67/pingly"

[features]
jemalloc = ["jemallocator"]
mimalloc = ["dep:mimalloc"]
rpmalloc = ["dep:rpmalloc"]
server = [
    "dep:axum",
    "dep:axum-extra",
    "dep:boxcar",
    "dep:clap",
    "dep:dirs",
    "dep:futures-util",
    "dep:h3",
    "dep:h3-quinn",
    "dep:http-body-util",
    "dep:hyper",
    "dep:hyper-util",
    "dep:pcap",
    "dep:pin-project-lite",
    "dep:pingora-runtime",
    "dep:quinn",
    "dep:quinn-proto",
    "dep:rcgen",
    "dep:rustls-pemfile",
    "dep:rustls-acme",
    "dep:sdjournal",
    "dep:serde_json",
    "dep:socket2",
    "dep:tokio",
    "dep:tokio-rustls",
    "dep:tower",
    "dep:tower-http",
    "dep:tracing-subscriber",
    "dep:unitbus",
]
snmalloc = ["snmalloc-rs"]
tcmalloc = ["tcmalloc/bundled"]

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

[[bin]]
name = "pingly"
path = "src/app/main.rs"
required-features = ["server"]

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

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

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

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

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

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

[dependencies.axum]
version = "0.8.1"
features = [
    "http2",
    "ws",
]
optional = true

[dependencies.axum-extra]
version = "0.12.1"
features = ["erased-json"]
optional = true
default-features = false

[dependencies.boxcar]
version = "0.2.8"
optional = true

[dependencies.bytes]
version = "1.9.0"

[dependencies.clap]
version = "4.6.4"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.dirs]
version = "6.0"
optional = true

[dependencies.futures-util]
version = "0.3.33"
optional = true

[dependencies.h3]
version = "0.0.8"
optional = true

[dependencies.h3-quinn]
version = "0.0.10"
features = ["tracing"]
optional = true

[dependencies.hex]
version = "0.4.3"

[dependencies.httlib-hpack]
version = "0.1.3"

[dependencies.http-body-util]
version = "0.1.4"
optional = true

[dependencies.httparse]
version = "1.8.0"

[dependencies.hyper]
version = "1.11.0"
features = [
    "http1",
    "http2",
    "server",
]
optional = true

[dependencies.hyper-util]
version = "0.1.20"
features = [
    "http1",
    "http2",
    "server",
    "service",
    "tokio",
]
optional = true
default-features = false

[dependencies.jemallocator]
version = "0.7.0"
optional = true
package = "tikv-jemallocator"

[dependencies.md5]
version = "0.8.0"

[dependencies.mimalloc]
version = "0.1.39"
optional = true
default-features = false

[dependencies.nom]
version = "8.0.0"

[dependencies.pin-project-lite]
version = "0.2.9"
optional = true

[dependencies.pingora-runtime]
version = "0.8.1"
optional = true

[dependencies.qpack]
version = "0.1.0"
default-features = false

[dependencies.quinn]
version = "0.11.11"
features = [
    "runtime-tokio",
    "rustls-aws-lc-rs",
]
optional = true
default-features = false

[dependencies.quinn-proto]
version = "0.11.16"
features = ["rustls-aws-lc-rs"]
optional = true
default-features = false

[dependencies.rcgen]
version = "0.13"
features = [
    "aws_lc_rs",
    "pem",
]
optional = true
default-features = false

[dependencies.rpmalloc]
version = "0.2.2"
optional = true

[dependencies.rustls-acme]
version = "0.15.3"
features = [
    "aws-lc-rs",
    "tls12",
    "tower",
    "webpki-roots",
]
optional = true
default-features = false

[dependencies.rustls-pemfile]
version = "2.0"
optional = true

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sha2]
version = "0.11.0"
default-features = false

[dependencies.snmalloc-rs]
version = "0.7.4"
optional = true

[dependencies.socket2]
version = "0.6"
optional = true

[dependencies.tcmalloc]
version = "0.3.0"
optional = true

[dependencies.thiserror]
version = "2.0.19"

[dependencies.tls-parser]
version = "0.12.0"

[dependencies.tokio]
version = "1.53.1"
features = [
    "io-util",
    "macros",
    "net",
    "rt",
    "signal",
    "sync",
    "time",
]
optional = true

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.tower]
version = "0.5.2"
features = [
    "limit",
    "util",
]
optional = true
default-features = false

[dependencies.tower-http]
version = "0.7.0"
features = [
    "trace",
    "cors",
    "compression-br",
    "compression-gzip",
    "set-header",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
version = "0.3.0"
features = ["env-filter"]
optional = true

[dev-dependencies.serde_json]
version = "1.0"

[target.'cfg(target_os = "linux")'.dependencies.pcap]
version = "2.0"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.sdjournal]
version = "=0.1.21"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.unitbus]
version = "=0.1.7"
features = [
    "blocking",
    "config",
    "rt-tokio",
]
optional = true
default-features = false

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = true