macro build heck-but-macros

A proc macro wrapper around the heck crate, so that its casing functions can be applied to identifiers. Also contains a workaround for (limited) stringification.

1 unstable release

0.0.1 Oct 3, 2020
Download history 10/week @ 2024-07-20 14/week @ 2024-07-27 12/week @ 2024-08-03 18/week @ 2024-08-10 12/week @ 2024-08-17 11/week @ 2024-08-24 14/week @ 2024-08-31 17/week @ 2024-09-07 19/week @ 2024-09-14 36/week @ 2024-09-21 22/week @ 2024-09-28 68/week @ 2024-10-05 19/week @ 2024-10-12 37/week @ 2024-10-19 15/week @ 2024-10-26 20/week @ 2024-11-02

94 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

10KB
84 lines

heck-but-macros

Lib.rs Crates.io Docs.rs

Rust 1.40.0 Build Status Crates.io - License

GitHub open issues open pull requests crev reviews

A proc macro wrapper around the heck crate, so that its casing functions can be applied to identifiers.

Also contains a workaround for (limited) stringification.

Installation

Please use cargo-edit to always add the latest version of this library:

cargo add heck-but-macros

Example

// TODO_EXAMPLE

License

Licensed under either 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 dual licensed as above, without any additional terms or conditions.

Code of Conduct

Changelog

Versioning

heck-but-macros strictly follows Semantic Versioning 2.0.0 with the following exceptions:

  • The minor version will not reset to 0 on major version changes (except for v1).
    Consider it the global feature level.
  • The patch version will not reset to 0 on major or minor version changes (except for v0.1 and v1).
    Consider it the global patch level.

This includes the Rust version requirement specified above.
Earlier Rust versions may be compatible, but this can change with minor or patch releases.

Which versions are affected by features and patches can be determined from the respective headings in CHANGELOG.md.

Dependencies

~385KB