Expand Shadowsocks runtime compatibility

This commit is contained in:
JettChenT 2026-06-05 10:33:41 -07:00
parent d1638726ca
commit 4d1f589280
167 changed files with 57173 additions and 1640 deletions

View file

@ -0,0 +1,107 @@
# 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 = "2018"
rust-version = "1.57"
name = "rustls-fork-shadow-tls"
version = "0.20.8"
build = "build.rs"
autobenches = false
description = "Rustls is a modern TLS library written in Rust."
homepage = "https://github.com/rustls/rustls"
readme = "README.md"
categories = [
"network-programming",
"cryptography",
]
license = "Apache-2.0/ISC/MIT"
repository = "https://github.com/rustls/rustls"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[[example]]
name = "bogo_shim"
path = "examples/internal/bogo_shim.rs"
required-features = [
"dangerous_configuration",
"quic",
]
[[example]]
name = "trytls_shim"
path = "examples/internal/trytls_shim.rs"
[[example]]
name = "bench"
path = "examples/internal/bench.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[dependencies.log]
version = "0.4.4"
optional = true
[dependencies.ring]
version = "0.16.20"
[dependencies.sct]
version = "0.7.0"
[dependencies.webpki]
version = "0.22.0"
features = [
"alloc",
"std",
]
[dev-dependencies.base64]
version = "0.13.0"
[dev-dependencies.criterion]
version = "0.3.0"
[dev-dependencies.env_logger]
version = "0.9.0"
[dev-dependencies.log]
version = "0.4.4"
[dev-dependencies.rustls-pemfile]
version = "1.0.0"
[dev-dependencies.webpki-roots]
version = "0.22.0"
[build-dependencies.rustversion]
version = "1.0.6"
optional = true
[features]
dangerous_configuration = []
default = [
"logging",
"tls12",
]
logging = ["log"]
quic = []
read_buf = ["rustversion"]
secret_extraction = []
tls12 = []