Skip to content

Commit

Permalink
Remove c ffi features
Browse files Browse the repository at this point in the history
  • Loading branch information
zlstringham committed Mar 30, 2022
1 parent f3a56aa commit c476e43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions c-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 0 additions & 2 deletions c-ffi/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#[cfg(feature = "byond-crc32")]
mod crc32;

#[cfg(feature = "byond-crc32")]
pub use crc32::*;

0 comments on commit c476e43

Please sign in to comment.