Safely cast &T to &U where the struct U contains a single field of type T.
☆225Sep 22, 2026Updated 2 weeks ago
Alternatives and similar repositories for ref-cast
Users that are interested in ref-cast are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Struct fields that are made read-only accessible to other modules☆268Aug 3, 2026Updated 2 months ago
- Make trait methods callable without the trait in scope☆164Aug 3, 2026Updated 2 months ago
- Make any value Sync but only available on its original thread☆40Jun 24, 2026Updated 3 months ago
- Convert number to enum☆89Jul 30, 2024Updated 2 years ago
- Conditional compilation according to rustc compiler version☆395Aug 3, 2026Updated 2 months ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Full precision decimal representation of f64☆28Aug 6, 2026Updated 2 months ago
- Type that deserializes only from one specific value☆285Aug 3, 2026Updated 2 months ago
- Define your own PhantomData☆170Sep 26, 2026Updated last week
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆79Jun 24, 2026Updated 3 months ago
- Macros for all your token pasting needs☆1,090Oct 6, 2024Updated 2 years ago
- The missing compound borrowing for Rust.☆65Apr 18, 2026Updated 5 months ago
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆34Oct 22, 2024Updated last year
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- A library for to allow multiple return types by automatically generated enum.