Docs.rs
shrex_macros-1.0.0
shrex_macros 1.0.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
28 June 2026
Links
Repository
crates.io
Source
Owners
Zk2u
Dependencies
proc-macro2 ^1.0
normal
quote ^1.0
normal
shrex ^1.0.0
normal
syn ^2.0
normal
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate shrex_macros
shrex_
macros
1.0.0
All Items
Crate Items
Macros
Crate
shrex_
macros
Copy item path
Source
Expand description
Compile-time hex literal →
[u8; N]
.
Macros
§
hex
hex!( “0xdeadbeef” ) -> [u8; 4] hex!( “deadbeef” ) -> [u8; 4] hex!( 0xdeadbeef ) -> [u8; 4]