From 2aebee055e6ef7d0b8c021cde3c12428dc8ba7fe Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 29 Sep 2023 23:53:00 -0700 Subject: [PATCH] Removed dependency --- CHANGELOG.md | 4 ++++ Cargo.toml | 1 - src/bindings.rs | 4 +--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08e781f..75cdab2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.3 (unreleased) + +- Removed dependency + ## 0.2.2 (2022-09-23) - Added `p` and `q` diff --git a/Cargo.toml b/Cargo.toml index 966ed9f..247e276 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,6 @@ links = "mf" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -libc = "0.2" [build-dependencies] cc = "1.0" diff --git a/src/bindings.rs b/src/bindings.rs index 33b26ee..bd4c1f8 100644 --- a/src/bindings.rs +++ b/src/bindings.rs @@ -1,6 +1,4 @@ -extern crate libc; - -use std::os::raw::{c_char, c_double, c_float, c_int, c_longlong}; +use std::ffi::{c_char, c_double, c_float, c_int, c_longlong}; #[repr(C)] pub struct MfNode {