Skip to content

Commit c9cd279

Browse files
committed
First release (v0.1.0)
1 parent 8f7d424 commit c9cd279

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition = "2018"
66
categories = ["encoding"]
77
keywords = ["encoding", "charset"]
88
license = "MIT"
9+
description ="Rust library that handles OEM code pages (e.g. CP{437,737,850}) for single byte character sets"
910

1011
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1112

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Rust library for OEM Code pages
22

3+
![CI (master)](<https://github.com/tats-u/rust-oem-cp/workflows/CI%20(master)/badge.svg>)
4+
![CI (Release)](<https://github.com/tats-u/rust-oem-cp/workflows/CI%20(Release)/badge.svg>)
5+
[![oem_cp at crates.io](https://img.shields.io/crates/v/oem_cp.svg)](https://crates.io/crates/oem_cp)
6+
[![oem_cp at docs.rs](https://docs.rs/oem_cp/badge.svg)](https://docs.rs/oem_cp)
7+
38
This library handles many SBCS (single byte character sets) that are used as OEM code pages. OEM code pages are used for encoding file names in ZIP archives and characters in the terminal in Windows today.
49

510
# Supported code pages
@@ -25,6 +30,17 @@ This library handles many SBCS (single byte character sets) that are used as OEM
2530

2631
Notes are quoted from https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
2732

33+
# How to use
34+
35+
Add `oem_cp` to the dependencies in `Cargo.toml` in your projects.
36+
37+
```toml
38+
[dependencies]
39+
# *snip*
40+
oem_cp = "0.1.0"
41+
# *snip*
42+
```
43+
2844
# Examples
2945

3046
## Use specific code pages

0 commit comments

Comments
 (0)