Skip to content

Deprecate `spec!` macro in favor of helper methods

Choose a tag to compare

@Techcable Techcable released this 18 Jun 01:45
· 31 commits to master since this release
c7ab6a3

Use the RustVersion.is_since_major_version and RustVersion.is_since_patch_version methods instead of is_since(spec!(...)).

This avoids a macro import, is simpler, faster, and allows const evaulation.

The macro will be removed in a future version.