mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-10-27 16:00:49 +08:00
refactor: 将 DTLS 本地依赖迁移到 libs 目录
This commit is contained in:
155
libs/dtls/Cargo.toml
Normal file
155
libs/dtls/Cargo.toml
Normal file
@@ -0,0 +1,155 @@
|
||||
# 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"
|
||||
name = "dtls"
|
||||
version = "0.17.2"
|
||||
authors = ["Rain Liu <yliu@webrtc.rs>"]
|
||||
build = false
|
||||
autolib = false
|
||||
autobins = false
|
||||
autoexamples = false
|
||||
autotests = false
|
||||
autobenches = false
|
||||
description = "A pure Rust implementation of DTLS"
|
||||
homepage = "https://webrtc.rs"
|
||||
documentation = "https://docs.rs/dtls"
|
||||
readme = "README.md"
|
||||
license = "MIT/Apache-2.0"
|
||||
repository = "https://github.com/webrtc-rs/webrtc/tree/master/dtls"
|
||||
|
||||
[features]
|
||||
pem = ["dep:pem"]
|
||||
|
||||
[lib]
|
||||
name = "dtls"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies.aes]
|
||||
version = "0.8"
|
||||
|
||||
[dependencies.aes-gcm]
|
||||
version = "0.10"
|
||||
|
||||
[dependencies.async-trait]
|
||||
version = "0.1"
|
||||
|
||||
[dependencies.bytecheck]
|
||||
version = "0.8"
|
||||
|
||||
[dependencies.byteorder]
|
||||
version = "1"
|
||||
|
||||
[dependencies.cbc]
|
||||
version = "0.1"
|
||||
features = [
|
||||
"block-padding",
|
||||
"alloc",
|
||||
]
|
||||
|
||||
[dependencies.ccm]
|
||||
version = "0.5"
|
||||
|
||||
[dependencies.chacha20poly1305]
|
||||
version = "0.10.1"
|
||||
|
||||
[dependencies.der-parser]
|
||||
version = "9.0"
|
||||
|
||||
[dependencies.hmac]
|
||||
version = "0.12"
|
||||
|
||||
[dependencies.log]
|
||||
version = "0.4"
|
||||
|
||||
[dependencies.p256]
|
||||
version = "0.13"
|
||||
features = [
|
||||
"default",
|
||||
"ecdh",
|
||||
"ecdsa",
|
||||
]
|
||||
|
||||
[dependencies.p384]
|
||||
version = "0.13"
|
||||
|
||||
[dependencies.pem]
|
||||
version = "3"
|
||||
optional = true
|
||||
|
||||
[dependencies.portable-atomic]
|
||||
version = "1.6"
|
||||
|
||||
[dependencies.rand]
|
||||
version = "0.9"
|
||||
|
||||
[dependencies.rand_core]
|
||||
version = "0.6"
|
||||
|
||||
[dependencies.rcgen]
|
||||
version = "0.13"
|
||||
|
||||
[dependencies.ring]
|
||||
version = "0.17.14"
|
||||
|
||||
[dependencies.rkyv]
|
||||
version = "0.8"
|
||||
|
||||
[dependencies.openssl]
|
||||
version = "0.10"
|
||||
features = ["vendored"]
|
||||
|
||||
[dependencies.rustls-pki-types]
|
||||
version = "1"
|
||||
|
||||
[dependencies.sec1]
|
||||
version = "0.7"
|
||||
features = ["std"]
|
||||
|
||||
[dependencies.sha1]
|
||||
version = "0.10"
|
||||
|
||||
[dependencies.sha2]
|
||||
version = "0.10"
|
||||
|
||||
[dependencies.thiserror]
|
||||
version = "1"
|
||||
|
||||
[dependencies.tokio]
|
||||
version = "1.32.0"
|
||||
features = [
|
||||
"fs",
|
||||
"io-util",
|
||||
"io-std",
|
||||
"macros",
|
||||
"net",
|
||||
"parking_lot",
|
||||
"rt",
|
||||
"rt-multi-thread",
|
||||
"sync",
|
||||
"time",
|
||||
]
|
||||
|
||||
[dependencies.util]
|
||||
version = "0.17.1"
|
||||
features = ["conn"]
|
||||
default-features = false
|
||||
package = "webrtc-util"
|
||||
|
||||
[dependencies.x25519-dalek]
|
||||
version = "2"
|
||||
features = ["static_secrets"]
|
||||
|
||||
[dependencies.x509-parser]
|
||||
version = "0.16"
|
||||
|
||||
[dev-dependencies]
|
||||
Reference in New Issue
Block a user