Skip to content

Test/sample app for encoding_rs in C++

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

hsivonen/recode_cpp

Repository files navigation

recode_cpp

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

It expects GSL to have been checked out to an adjacent directory. Revision d6a2242d97827449f3f1c1c2e54214ceb9e80d62 was tested.

Licensing

Please see the file named COPYRIGHT.

Building

Git, GNU Make and a version of GCC recent enough to accept -std=c++17 are assumed to be already installed. (Ubuntu 18.04 is known to work.)

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_cpp

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

2. Clone GSL

git clone https://github.com/Microsoft/GSL.git

3. Build recode_cpp

cd recode_cpp
make

4. Run it

./recode_cpp --help

About

Test/sample app for encoding_rs in C++

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages