encodingc is an FFI wrapper for encodingrs.
Please see the file named COPYRIGHT.
include/encoding_rs.h
and include/encoding_rs_statics.h
are needed for C
usage.
include/encoding_rs_cpp.h
is a sample C++ API built on top of the C API using
GSL and the C++ standard library. Since C++ project typically roll their own
string classes, etc., it's probably necessary for C++ projects to manually
adapt the header to their replacements of standard-library types.
cheddar
-generated header and comment out the cheddar
-using
build.rs
.