codec: add magic traits to get codecs by name and id

This commit is contained in:
meh
2015-09-25 21:33:08 +02:00
parent bde17a8bae
commit 66284eb045
12 changed files with 396 additions and 254 deletions

View File

@ -42,6 +42,7 @@ pub mod threading;
pub mod encoder;
pub mod decoder;
pub mod traits;
use std::ffi::CStr;
use std::str::from_utf8_unchecked;