windy-macros 0.2.0

Macros to convert a UTF-8 string to WString or AString at compile time
docs.rs failed to build windy-macros-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: windy-macros-0.1.1

Windy-macros

crates.io docs.rs

Macros for Windy.

Features

Converts UTF-8 &str to:

  • WString using wstring! or wstring_lossy!.
  • AString using astring! or astring_lossy!.
  • &WStr using wstr! or wstr_lossy!.
  • &AStr using astr! or astr_lossy!.
  • [u8] using aarr! or aarr_lossy!.
  • [u16] using warr! or warr_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.