3 unstable releases
Uses new Rust 2024
| 0.2.0 | Feb 27, 2026 |
|---|---|
| 0.1.1 | Jan 12, 2021 |
| 0.1.0 | Jan 10, 2021 |
#6 in #multi-byte
23KB
470 lines
Windy-macros
Macros for Windy.
Features
Converts UTF-8 &str to:
WStringusingwstring!orwstring_lossy!.AStringusingastring!orastring_lossy!.&WStrusingwstr!orwstr_lossy!.&AStrusingastr!orastr_lossy!.[u8]usingaarr!oraarr_lossy!.[u16]usingwarr!orwarr_lossy!.
at compile time.
Example
use windy::macros::wstring;
fn main() {
let x = wstring!("test");
}
License
This software is released under the MIT or Apache-2.0 License, see LICENSE-MIT or LICENSE-APACHE.
Dependencies
~160–510KB
~12K SLoC