assert-unmoved

A type that asserts that the underlying type is not moved after being pinned and mutably accessed.

APACHE-2.0 License

Downloads
4.8K
Stars
4
Committers
1

Bot releases are visible (Hide)

assert-unmoved - 0.1.6 Latest Release

Published by github-actions[bot] 6 months ago

  • Add #[must_use] to constructor and getters.
assert-unmoved - 0.1.5

Published by github-actions[bot] about 1 year ago

  • Track location that AssertUnmoved being first pinned-mutably accessed.

  • Fix build error from dependency when built with -Z minimal-versions.

  • Restore compatibility with Rust 1.46 by replacing pin-project with pin-project-lite.

assert-unmoved - 0.1.4

Published by github-actions[bot] over 2 years ago

  • Use #[track_caller].

    NOTE: This raises the minimum supported Rust version of this crate from Rust 1.37 to Rust 1.46.

  • Detect misuse of AssertUnmoved::get_mut.

assert-unmoved - 0.1.3

Published by github-actions[bot] over 3 years ago

assert-unmoved - 0.1.2

Published by github-actions[bot] almost 4 years ago

  • Exclude unneeded files from crates.io.
assert-unmoved - 0.1.1

Published by github-actions[bot] almost 4 years ago

assert-unmoved - 0.1.0

Published by github-actions[bot] almost 4 years ago

Initial release

Package Rankings
Top 34.01% on Crates.io
Badges
Extracted from project README
crates.io docs.rs license msrv github actions