Skip to main content

Crate windy

Crate windy 

Source
Expand description

§Windy

crates.io docs.rs

A Windows strings library that supports AString (ANSI string) and WString (Unicode string).

§Features

  • ANSI string(AString)
  • Wide string(WString)
  • AnsiString(ANSI_STRING)
  • UnicodeString(UNICODE_STRING)
  • Interconversion between AString, WString and String.
  • no_std support
  • Macros support

§Installation

Add the following lines to your Cargo.toml:

[dependencies]
windy = "0.2.0"

§no_std support

If you don’t want to use std, use --no-default-features.

AString and WString are not available when no_std.

§Macros support

windy-macros to convert a UTF-8 string to WString or AString at compile time.

[dependencies]
windy = "0.2.0"
windy-macros = "0.1.1"

§License

This software is released under the MIT or Apache-2.0 License, see LICENSE-MIT or LICENSE-APACHE.

Modules§

traits

Macros§

conv_err

Structs§

AStr
Represents a borrowed ANSI string.
AString
Represents ANSI string.
AnsiString
Represents ANSI_STRING.
UnicodeString
Represents UNICODE_STRING.
WStr
Represents a borrowed Unicode string.
WString
Represents a wide string (Unicode string).

Enums§

ConvertError
Represents a conversion error.

Type Aliases§

ConvertResult