Splitting this into a separate crate serves two purposes. This reduces the dependency count if your app does not actually
use codec2. It also means you can avoid statically linking LGPL code into your Rust binary if you are relying on M17RT's
permissive licence. In this situation you can probably still find a way to use codec2 but it's not going to be as simple
as putting this in your Cargo.toml since Rust makes dynamic linking difficult.
Splitting this into a separate crate serves two purposes. This reduces the dependency count if your app does not actually
use codec2. It also means you can avoid statically linking LGPL code into your Rust binary if you are relying on M17RT's
permissive licence. In this situation you can probably still find a way to use codec2 but it's not going to be as simple
as putting this in your Cargo.toml since Rust makes dynamic linking difficult.