Skip to content

Commit

Permalink
Merge pull request #141 from kefran06/fix/deprecated-atomic
Browse files Browse the repository at this point in the history
fix: replace atomic to portable_atomic because atomic is now deprecated
  • Loading branch information
lulf authored Jun 4, 2024
2 parents f788e02 + 0cb8c75 commit f48952f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target
Cargo.lock
.idea
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/split.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use atomic_polyfill::{AtomicBool, Ordering};
use portable_atomic::{AtomicBool, Ordering};

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

0 comments on commit f48952f

Please sign in to comment.