specializer 1.0.0

Limited safe specialization on stable Rust with builder-like pattern
Documentation
  • Coverage
  • 100%
    16 out of 16 items documented5 out of 5 items with examples
  • Size
  • Source code size: 108.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • AldaronLau/specializer
    7 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • AldaronLau

Specializer

tests GitHub commit activity GitHub contributors
Crates.io Crates.io Crates.io (recent)
Crates.io Docs.rs

Limited safe specialization on stable Rust with builder-like pattern

Check out the documentation for examples.

Features

  • Functions to do a fallible cast to/from generics/concrete types
  • Supports casting with 'static types and borrowed types
  • Sync/async builders for chaining type specialization
  • No-std/no-alloc
  • No unsafe

MSRV

The current MSRV is Rust 1.85.

Any future MSRV updates will follow the Ardaku MSRV guidelines.

Alternatives

License

Copyright © 2025 The Specializer Contributors.

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.