Skip to content

Commit fe55a47

Browse files
zvolinMabezDev
andcommitted
Add implementation for mbedtls - Initial work by @MabezDev
Co-authored-by: Scott Mabin <[email protected]>
1 parent 8fa929d commit fe55a47

File tree

2 files changed

+536
-1
lines changed

2 files changed

+536
-1
lines changed

Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ tempfile = "3.1.0"
2626
[target.'cfg(target_os = "windows")'.dependencies]
2727
schannel = "0.1.17"
2828

29-
[target.'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios")))'.dependencies]
29+
[target.'cfg(not(any(target_os = "windows", target_os = "macos", target_os = "ios", target_os = "espidf")))'.dependencies]
3030
log = "0.4.5"
3131
openssl = "0.10.29"
3232
openssl-sys = "0.9.55"
3333
openssl-probe = "0.1"
3434

35+
[target.'cfg(target_os = "espidf")'.dependencies]
36+
mbedtls = { version = "0.8.1", features = ["pkcs12", "std"], path = "/home/mabez/development/rust/embedded/util/rust-mbedtls/mbedtls" }
37+
3538
[dev-dependencies]
3639
tempfile = "3.0"
3740
test-cert-gen = "0.9"

0 commit comments

Comments
 (0)