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☆164Mar 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 5 months ago
- Conditional compilation according to rustc compiler version☆394Mar 24, 2026Updated last month
- Convert number to enum☆88Jul 30, 2024Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Atomic operations on potentially uninitialized integers.☆32May 9, 2026Updated last 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`☆79Dec 20, 2025Updated 5 months ago
- Define your own PhantomData☆165May 1, 2026Updated 2 weeks ago
- Macros for all your token pasting needs☆1,088Oct 6, 2024Updated last year
- The missing compound borrowing for Rust.☆64Apr 18, 2026Updated last month
- Full precision decimal representation of f64☆27Feb 16, 2026Updated 3 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
- 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.
- A library for to allow multiple return types by automatically generated enum.☆380May 2, 2026Updated 2 weeks ago
- Clone trait that is object-safe☆754Mar 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,193Mar 24, 2026Updated last month
- Graph the number of crates that depend on your crate over time☆255Feb 2, 2026Updated 3 months ago
- Easy self-referential struct generation for Rust.☆706Jan 11, 2025Updated last year
- TARGET and HOST triples☆16Dec 20, 2025Updated 5 months ago
- Utility wrapper to send non send types to other threads safely☆191Apr 1, 2026Updated last month
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Safe cross-platform linker shenanigans☆863Apr 17, 2026Updated last month
- A wrapper around Rust futures that stores the future in space provided by the caller.☆308Nov 19, 2025Updated 6 months ago
- Indented document literals for Rust☆780Mar 24, 2026Updated last month
- Append-only collections for Rust where borrows to entries can outlive insertions☆276Apr 7, 2026Updated last month
- Test harness for ui tests of compiler diagnostics☆966Mar 25, 2026Updated last month
- Token tree calling convention☆82Dec 19, 2022Updated 3 years ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆182Aug 11, 2025Updated 9 months ago
- Serde Visitor for deserializing untagged enums☆71Feb 16, 2026Updated 3 months ago
- A procedural macro implementation of `quote!`.☆24Mar 20, 2023Updated 3 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Fork of std::Arc with lots of utilities useful for FFI☆292Jan 22, 2026Updated 3 months ago
- Fast floating point to string conversion☆696Feb 16, 2026Updated 3 months ago
- A minimal `syn` syntax tree pretty-printer☆763Feb 9, 2026Updated 3 months ago
- A vector with a fixed capacity. (Rust)☆868May 3, 2026Updated 2 weeks ago
- 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,251Jan 15, 2026Updated 4 months ago
- docs.rs as a publishing platform?☆71Dec 20, 2025Updated 5 months ago