relay-core-lib 0.2.0

[Internal] Transport and interception engine for relay-core-runtime. Use `relay-core-runtime` instead.
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 = "relay-core-lib"
version = "0.2.0"
authors = ["RelayCraft Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "[Internal] Transport and interception engine for relay-core-runtime. Use `relay-core-runtime` instead."
readme = "README.md"
license = "MIT"
repository = "https://github.com/relaycraft/relay-core"
resolver = "2"

[features]
default = [
    "transparent-linux",
    "transparent-macos",
]
quic = []
transparent-linux = []
transparent-macos = []
transparent-windows = []

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

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

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

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

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

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

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

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

[[bench]]
name = "rule_engine"
path = "benches/rule_engine.rs"
harness = false

[dependencies.async-trait]
version = "0.1.89"

[dependencies.bytes]
version = "1.6"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.cookie]
version = "0.18.1"

[dependencies.data-encoding]
version = "2.10.0"

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

[dependencies.glob]
version = "0.3"

[dependencies.h2]
version = "0.4"

[dependencies.http]
version = "1.0"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.3"
features = ["full"]

[dependencies.hyper-rustls]
version = "0.27.7"
features = [
    "http1",
    "http2",
    "tls12",
    "native-tokio",
    "ring",
]

[dependencies.hyper-tungstenite]
version = "0.19.0"

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.if-addrs]
version = "0.15.0"

[dependencies.ipnetwork]
version = "0.20"

[dependencies.libc]
version = "0.2.182"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.rcgen]
version = "0.13"

[dependencies.regex]
version = "1.10"

[dependencies.relay-core-api]
version = "0.2.0"

[dependencies.rustls]
version = "0.23"
features = ["ring"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
version = "0.3.47"
features = [
    "formatting",
    "parsing",
    "macros",
]

[dependencies.tokio]
version = "1.37"
features = ["full"]

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

[dependencies.tokio-tungstenite]
version = "0.28.0"
features = ["rustls-tls-native-roots"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"
features = ["serde"]

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

[dependencies.x509-parser]
version = "0.18.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3.10"

[target."cfg(windows)".dependencies.etherparse]
version = "0.13"

[target."cfg(windows)".dependencies.windivert]
version = "0.6"