Crates.io | supply-chain-trust-example-crate-000093 |
lib.rs | supply-chain-trust-example-crate-000093 |
version | 0.1.0 |
source | src |
created_at | 2024-11-04 02:43:23.74587 |
updated_at | 2024-11-04 02:43:23.74587 |
description | Utilities for pinning |
homepage | |
repository | |
max_upload_size | |
id | 1434480 |
size | 21,887 |
Utilities for pinning
Note: Since Rust 1.68, all APIs in this crate are now soft-deprecated or deprecated:
pin_utils::pin_mut!
is soft-deprecated in favor of pin!
macro in the standard library that stabilized in Rust 1.68.pin_utils::{unsafe_pinned,unsafe_unpinned}
are deprecated in favor of safe alternatives: pin-project, pin-project-liteFirst, add this to your Cargo.toml
:
[dependencies]
pin-utils = "0.1"
Now, you can use it:
use pin_utils::pin_mut; // And more...
The current pin-utils requires Rust 1.33 or later.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in pin-utils by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.