Skip to content

Commit

Permalink
remove libc dependency of bzip2-sys
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Feb 28, 2025
1 parent bbc4b47 commit 17171c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion bzip2-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ name = "bzip2_sys"
path = "lib.rs"

[dependencies]
libc = "0.2"

[build-dependencies]
pkg-config = "0.3.9"
Expand Down
5 changes: 2 additions & 3 deletions bzip2-sys/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#![doc(html_root_url = "https://docs.rs/bzip2-sys/0.1")]
#![no_std]

extern crate libc;

use std::ffi::{c_char, c_int, c_uint, c_void};
use core::ffi::{c_char, c_int, c_uint, c_void};

pub const BZ_RUN: c_int = 0;
pub const BZ_FLUSH: c_int = 1;
Expand Down

0 comments on commit 17171c2

Please sign in to comment.