encoded 0.4.2

Macros converting character encodings at compile time
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# encoded


Rust macros converting character encodings at compile time

## install


```sh
cargo add encoded
```

## usage


```rs
const BYTES: &[u8] = encoded::shift_jis!("漢字");
assert_eq!(BYTES, b"\x8a\xbf\x8e\x9a");
```

For more information, see the [documentation](https://docs.rs/encoded/).