esp-hal/esp-hal-procmacros
Dániel Buga 68b992f6d6
Add macro to let rustfmt format code blocks in doc comments (#3744)
* Add insert_doc_snippet proc macro

* Replace placeholders

* Allow defining (conditional) replacements

* Use unstable features for module-level docs

* Document the new macro

* Rename macro

* Lint

* Remove nonsense code block check, change syntax

* Remove redundant doc_switch macro
2025-07-04 08:25:37 +00:00
..
2025-07-03 13:44:27 +00:00
2025-07-03 13:44:27 +00:00

esp-hal-procmacros

Crates.io docs.rs MSRV Crates.io Matrix

Procedural macros for use with esp-hal and other related packages.

Documentation

Minimum Supported Rust Version (MSRV)

This crate is guaranteed to compile when using the latest stable Rust version at the time of the crate's release. It might compile with older versions, but that may change in any new release, including patches.

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.