Skip to content
Test/sample app for encoding_rs in C
C Makefile Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
rustglue
.gitignore
COPYRIGHT
LICENSE-APACHE
LICENSE-MIT
Makefile
README.md
encoding_rs.h
encoding_rs_statics.h
recode_c.c

README.md

recode_c

recode_c is a test/sample app that's written in C and uses encoding_rs.

It expects encoding_rs to have been checked out to an adjacent directory.

Licensing

Please see the file named COPYRIGHT.

Building

Git, GNU Make and a version of GCC recent enough to accept -std=c11 are assumed to be already installed.

0. Install Rust (including Cargo) if you haven't already

See rustup.rs. For Linux and OS X, this means:

curl https://sh.rustup.rs -sSf | sh

1. Clone recode_c

git clone https://github.com/hsivonen/recode_c.git

2. Build recode_c

cd recode_c
make

3. Run it

./recode_c --help
You can’t perform that action at this time.