diff --git a/.gitignore b/.gitignore index a9d37c5..2da6cde 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ target Cargo.lock +.idea \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 9869aff..81d86bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "embedded-tls" -version = "0.17.0" +version = "0.17.1" edition = "2021" description = "TLS 1.3 client with no_std support and no allocator" documentation = "https://docs.rs/embedded-tls" @@ -12,7 +12,7 @@ keywords = ["embedded", "async", "tls", "no_std", "network"] exclude = [".github"] [dependencies] -atomic-polyfill = "1" +portable-atomic = { version = "1.6.0", default-features = false } p256 = { version = "0.13.2", default-features = false, features = [ "ecdh", "ecdsa", diff --git a/src/split.rs b/src/split.rs index edaeee7..8b95ea4 100644 --- a/src/split.rs +++ b/src/split.rs @@ -1,4 +1,4 @@ -use atomic_polyfill::{AtomicBool, Ordering}; +use portable_atomic::{AtomicBool, Ordering}; pub trait SplitState: Clone { fn same(&self, other: &Self) -> bool;