2020-10-04 22:22:29 +08:00
|
|
|
[package]
|
|
|
|
name = "smoltcp-tls"
|
|
|
|
version = "0.1.0"
|
2020-10-11 23:41:02 +08:00
|
|
|
authors = ["occheung"]
|
2020-10-04 22:22:29 +08:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-10-16 17:38:29 +08:00
|
|
|
hkdf = "0.9.0"
|
2020-10-11 13:46:24 +08:00
|
|
|
sha2 = { version = "0.9.1", default-features = false }
|
|
|
|
byteorder = { version = "1.3.4", default-features = false }
|
|
|
|
num_enum = { version = "0.5.1", default-features = false }
|
2020-10-14 17:37:45 +08:00
|
|
|
log = "0.4.11"
|
|
|
|
generic-array = "0.14.4"
|
2020-10-16 17:38:29 +08:00
|
|
|
heapless = "0.5.6"
|
2020-10-21 18:18:54 +08:00
|
|
|
asn1_der = { version = "0.7.1", features = [ "native_types", "no_std" ] }
|
2020-10-04 22:22:29 +08:00
|
|
|
|
2020-10-18 20:02:40 +08:00
|
|
|
[dependencies.aes-gcm]
|
|
|
|
version = "0.8.0"
|
|
|
|
default-features = true
|
|
|
|
features = [ "heapless" ]
|
|
|
|
|
|
|
|
[dependencies.ccm]
|
|
|
|
version = "0.3.0"
|
|
|
|
default-features = true
|
|
|
|
features = [ "heapless" ]
|
|
|
|
|
2020-10-04 22:22:29 +08:00
|
|
|
[dependencies.smoltcp]
|
|
|
|
version = "0.6.0"
|
|
|
|
default-features = false
|
2020-10-11 23:41:02 +08:00
|
|
|
features = ["ethernet", "proto-ipv4", "proto-ipv6", "socket-tcp", "alloc"]
|
2020-10-04 22:22:29 +08:00
|
|
|
|
2020-10-11 13:46:24 +08:00
|
|
|
[dependencies.rand_core]
|
|
|
|
version = "0.5.1"
|
2020-10-04 22:22:29 +08:00
|
|
|
default-features = false
|
|
|
|
features = []
|
|
|
|
|
2020-10-15 17:29:42 +08:00
|
|
|
[dependencies.chacha20poly1305]
|
|
|
|
version = "0.6.0"
|
|
|
|
default-features = false
|
2020-10-18 20:02:40 +08:00
|
|
|
features = [ "alloc", "chacha20", "heapless" ]
|
2020-10-15 17:29:42 +08:00
|
|
|
|
2020-10-11 13:46:24 +08:00
|
|
|
[dependencies.p256]
|
|
|
|
version = "0.5.0"
|
|
|
|
default-features = false
|
|
|
|
features = [ "ecdh", "ecdsa", "arithmetic" ]
|
|
|
|
|
2020-10-15 17:29:42 +08:00
|
|
|
# Fetch from master, for "no_std" + "alloc" combination
|
2020-10-11 13:46:24 +08:00
|
|
|
[dependencies.rsa]
|
|
|
|
git = "https://github.com/RustCrypto/RSA.git"
|
2020-10-04 22:22:29 +08:00
|
|
|
default-features = false
|
2020-10-11 13:46:24 +08:00
|
|
|
features = [ "alloc" ]
|
2020-10-04 22:22:29 +08:00
|
|
|
|
2020-10-11 13:46:24 +08:00
|
|
|
[dependencies.nom]
|
|
|
|
version = "5.1.2"
|
|
|
|
default-features = false
|
2020-10-12 10:04:04 +08:00
|
|
|
features= []
|