
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
portable-atomic-util
Advanced tools
Synchronization primitives built with portable-atomic.
Arc. (optional, requires the std or alloc feature)task::Wake. (optional, requires the std or alloc feature)See portable-atomic#1 for other primitives being considered for addition to this crate.
This crate was originally part of the portable-atomic repository and was extracted into its own repository.
std
Use std.
Note:
alloc feature.alloc
Use alloc.
Note:
std feature is not enabled is Rust 1.36 that alloc crate stabilized.serde
Implement serde::{Serialize, Deserialize} for Arc.
Note:
One of the ways to enable cfg is to set rustflags in the cargo config:
# .cargo/config.toml
[target.<target>]
rustflags = ["--cfg", "portable_atomic_unstable_coerce_unsized"]
Or set environment variable:
RUSTFLAGS="--cfg portable_atomic_unstable_coerce_unsized" cargo ...
--cfg portable_atomic_unstable_coerce_unsized
Support coercing of Arc<T> to Arc<U> as in std::sync::Arc.
This cfg requires Rust nightly because this coercing requires unstable CoerceUnsized trait.
See this issue comment for another known workaround.
Note: This cfg is unstable and outside of the normal semver guarantees and minor or patch versions of portable-atomic-util may make breaking changes to them at any time.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
FAQs
Unknown package
The cargo package portable-atomic-util receives a total of 3,879,563 weekly downloads. As such, portable-atomic-util popularity was classified as popular.
We found that portable-atomic-util demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.