Safely cast &T to &U where the struct U contains a single field of type T.
☆219Mar 24, 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:
- Make trait methods callable without the trait in scope☆162Mar 24, 2026Updated 2 weeks ago
- Struct fields that are made read-only accessible to other modules☆265Mar 24, 2026Updated 2 weeks ago
- Make any value Sync but only available on its original thread☆39Dec 20, 2025Updated 3 months ago
- Conditional compilation according to rustc compiler version☆394Mar 24, 2026Updated 2 weeks ago
- Convert number to enum☆87Jul 30, 2024Updated last year
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- Atomic operations on potentially uninitialized integers.☆31Updated this week
- Type that deserializes only from one specific value☆276Mar 24, 2026Updated 2 weeks ago
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆78Dec 20, 2025Updated 3 months ago
- Define your own PhantomData☆160Mar 24, 2026Updated 2 weeks ago
- Macros for all your token pasting needs☆1,084Oct 6, 2024Updated last year
- The missing compound borrowing for Rust.☆64Nov 1, 2025Updated 5 months ago
- Full precision decimal representation of f64☆28Feb 16, 2026Updated last month
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆35Oct 22, 2024Updated last year
- Compile-time checks that an enum or match is written in sorted order☆124Mar 24, 2026Updated 2 weeks ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- A library for to allow multiple return types by automatically generated enum.☆378Apr 3, 2026Updated last week
- Clone trait that is object-safe☆751Mar 24, 2026Updated 2 weeks ago
- ☆36Nov 20, 2024Updated last year
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- Attribute macro to require that the compiler prove a function can't ever panic☆1,188Mar 24, 2026Updated 2 weeks ago
- Graph the number of crates that depend on your crate over time☆255Feb 2, 2026Updated 2 months ago
- Easy self-referential struct generation for Rust.☆703Jan 11, 2025Updated last year
- TARGET and HOST triples☆16Dec 20, 2025Updated 3 months ago
- Safe cross-platform linker shenanigans☆844Mar 25, 2026Updated 2 weeks ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- Utility wrapper to send non send types to other threads safely☆188Apr 1, 2026Updated last week
- A wrapper around Rust futures that stores the future in space provided by the caller.☆306Nov 19, 2025Updated 4 months ago
- Indented document literals for Rust☆774Mar 24, 2026Updated 2 weeks ago
- Append-only collections for Rust where borrows to entries can outlive insertions☆275Jan 23, 2026Updated 2 months ago
- Test harness for ui tests of compiler diagnostics☆964Mar 25, 2026Updated 2 weeks ago
- Token tree calling convention☆82Dec 19, 2022Updated 3 years ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆183Aug 11, 2025Updated 7 months ago
- Serde Visitor for deserializing untagged enums☆71Feb 16, 2026Updated last month
- A procedural macro implementation of `quote!`.☆24Mar 20, 2023Updated 3 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Fork of std::Arc with lots of utilities useful for FFI☆286Jan 22, 2026Updated 2 months ago
- A minimal `syn` syntax tree pretty-printer☆758Feb 9, 2026Updated 2 months ago
- Fast floating point to string conversion☆693Feb 16, 2026Updated last month
- A vector with a fixed capacity. (Rust)☆861Oct 19, 2024Updated last year
- Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap.☆262Feb 10, 2022Updated 4 years ago
- A Rust proc-macro attribute parser☆1,240Jan 15, 2026Updated 2 months ago
- Ensure correct assumptions about constants, types, and more in Rust☆653Nov 18, 2023Updated 2 years ago