Skip to content

Commit f48952f

Browse files
authored
Merge pull request #141 from kefran06/fix/deprecated-atomic
fix: replace atomic to portable_atomic because atomic is now deprecated
2 parents f788e02 + 0cb8c75 commit f48952f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target
22
Cargo.lock
3+
.idea

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "embedded-tls"
3-
version = "0.17.0"
3+
version = "0.17.1"
44
edition = "2021"
55
description = "TLS 1.3 client with no_std support and no allocator"
66
documentation = "https://docs.rs/embedded-tls"
@@ -12,7 +12,7 @@ keywords = ["embedded", "async", "tls", "no_std", "network"]
1212
exclude = [".github"]
1313

1414
[dependencies]
15-
atomic-polyfill = "1"
15+
portable-atomic = { version = "1.6.0", default-features = false }
1616
p256 = { version = "0.13.2", default-features = false, features = [
1717
"ecdh",
1818
"ecdsa",

src/split.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use atomic_polyfill::{AtomicBool, Ordering};
1+
use portable_atomic::{AtomicBool, Ordering};
22

33
pub trait SplitState: Clone {
44
fn same(&self, other: &Self) -> bool;

0 commit comments

Comments
 (0)