Safely cast &T to &U where the struct U contains a single field of type T.
☆219Mar 24, 2026Updated last month
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☆163Mar 24, 2026Updated last month
- Struct fields that are made read-only accessible to other modules☆265Mar 24, 2026Updated last month
- Make any value Sync but only available on its original thread☆39Dec 20, 2025Updated 4 months ago
- Conditional compilation according to rustc compiler version☆394Mar 24, 2026Updated last month
- Convert number to enum☆87Jul 30, 2024Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Atomic operations on potentially uninitialized integers.☆32Updated this week
- Type that deserializes only from one specific value☆278Mar 24, 2026Updated last month
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆78Dec 20, 2025Updated 4 months ago
- Define your own PhantomData☆160Mar 24, 2026Updated last month
- Macros for all your token pasting needs☆1,086Oct 6, 2024Updated last year
- The missing compound borrowing for Rust.☆64Apr 18, 2026Updated last week
- Full precision decimal representation of f64☆27Feb 16, 2026Updated 2 months ago
- 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 last month
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A library for to allow multiple return types by automatically generated enum.☆378Apr 10, 2026Updated 2 weeks ago
- Clone trait that is object-safe☆752Mar 24, 2026Updated last month
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- ☆36Nov 20, 2024Updated last year
- Attribute macro to require that the compiler prove a function can't ever panic☆1,190Mar 24, 2026Updated last month
- 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.☆706Jan 11, 2025Updated last year
- TARGET and HOST triples☆16Dec 20, 2025Updated 4 months ago
- Safe cross-platform linker shenanigans☆849Apr 17, 2026Updated last week
- 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.
- Utility wrapper to send non send types to other threads safely☆188Apr 1, 2026Updated 3 weeks ago
- A wrapper around Rust futures that stores the future in space provided by the caller.☆306Nov 19, 2025Updated 5 months ago
- Indented document literals for Rust☆778Mar 24, 2026Updated last month
- Append-only collections for Rust where borrows to entries can outlive insertions☆275Apr 7, 2026Updated 3 weeks ago
- Test harness for ui tests of compiler diagnostics☆965Mar 25, 2026Updated last month
- Token tree calling convention☆82Dec 19, 2022Updated 3 years ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆183Aug 11, 2025Updated 8 months ago
- Serde Visitor for deserializing untagged enums☆71Feb 16, 2026Updated 2 months ago
- A procedural macro implementation of `quote!`.☆24Mar 20, 2023Updated 3 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Fork of std::Arc with lots of utilities useful for FFI☆287Jan 22, 2026Updated 3 months ago
- Fast floating point to string conversion☆694Feb 16, 2026Updated 2 months ago
- A minimal `syn` syntax tree pretty-printer☆762Feb 9, 2026Updated 2 months ago
- A vector with a fixed capacity. (Rust)☆864Oct 19, 2024Updated last year
- Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap.☆263Feb 10, 2022Updated 4 years ago
- A Rust proc-macro attribute parser☆1,242Jan 15, 2026Updated 3 months ago
- Ensure correct assumptions about constants, types, and more in Rust☆656Nov 18, 2023Updated 2 years ago