hpx-emulation 2.4.4

Browser emulation profiles for hpx (TLS fingerprinting, HTTP/2 settings)
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"
name = "hpx-emulation"
version = "2.4.4"
authors = ["Akagi201 <akagi201@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Browser emulation profiles for hpx (TLS fingerprinting, HTTP/2 settings)"
documentation = "https://docs.rs/hpx-emulation"
readme = "README.md"
keywords = [
    "http",
    "client",
    "emulation",
    "ja3",
    "ja4",
]
license = "Apache-2.0"
repository = "https://github.com/longcipher/hpx"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = ["emulation"]
emulation = ["dep:typed-builder"]
emulation-compression = []
emulation-rand = [
    "emulation",
    "dep:strum_macros",
    "dep:strum",
]
emulation-serde = ["dep:serde"]

[lib]
name = "hpx_emulation"
path = "src/lib.rs"
doctest = false

[[example]]
name = "emulation_option"
path = "examples/emulation_option.rs"
required-features = ["emulation"]

[[example]]
name = "emulation_rand"
path = "examples/emulation_rand.rs"
required-features = [
    "emulation",
    "emulation-rand",
]

[[example]]
name = "hpx_emulation"
path = "examples/hpx_util_emulation.rs"
required-features = ["emulation"]

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

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

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

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

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

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

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

[dependencies.hpx]
version = "2.4.4"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.strum]
version = "0.28.0"
optional = true

[dependencies.strum_macros]
version = "0.28.0"
optional = true

[dependencies.typed-builder]
version = "0.23.2"
optional = true

[dev-dependencies.futures-util]
version = "0.3.32"

[dev-dependencies.http]
version = "1.4.0"

[dev-dependencies.hyper]
version = "1.8.1"
features = [
    "http1",
    "http2",
    "client",
    "server",
]

[dev-dependencies.hyper-util]
version = "0.1.20"
features = [
    "http1",
    "http2",
    "client",
    "client-legacy",
    "server-auto",
    "tokio",
]

[dev-dependencies.pin-project-lite]
version = "0.2.17"

[dev-dependencies.tokio]
version = "1.50.0"
features = ["full"]

[dev-dependencies.tower]
version = "0.5.3"
features = ["limit"]

[dev-dependencies.tracing]
version = "0.1.44"

[dev-dependencies.tracing-subscriber]
version = "0.3.23"