diff --git a/c-ffi/Cargo.toml b/c-ffi/Cargo.toml index 2bff316..116d84a 100644 --- a/c-ffi/Cargo.toml +++ b/c-ffi/Cargo.toml @@ -11,15 +11,11 @@ build = "build.rs" publish = false [dependencies] -byond-crc32 = { version = "3.0", optional = true, path = "../lib/crc32" } +byond-crc32 = { version = "3.0", path = "../lib/crc32" } libc = "0.2" [build-dependencies] cbindgen = "0.21.0" -[features] -default = ["crc32"] -crc32 = ["byond-crc32"] - [lib] crate-type = ["cdylib"] diff --git a/c-ffi/src/lib.rs b/c-ffi/src/lib.rs index c3a6fd8..75374b6 100644 --- a/c-ffi/src/lib.rs +++ b/c-ffi/src/lib.rs @@ -1,5 +1,3 @@ -#[cfg(feature = "byond-crc32")] mod crc32; -#[cfg(feature = "byond-crc32")] pub use crc32::*;