diff --git a/libosdp-sys/Cargo.toml b/libosdp-sys/Cargo.toml index 0181ef1..38753dd 100644 --- a/libosdp-sys/Cargo.toml +++ b/libosdp-sys/Cargo.toml @@ -19,8 +19,6 @@ build-target = "0.4.0" cc = "1.0.83" [features] -default = ["std"] -std = [] packet_trace = [] data_trace = [] skip_mark_byte = [] diff --git a/libosdp-sys/src/lib.rs b/libosdp-sys/src/lib.rs index 44945f4..2016d07 100644 --- a/libosdp-sys/src/lib.rs +++ b/libosdp-sys/src/lib.rs @@ -1,4 +1,4 @@ -#![cfg_attr(not(feature = "std"), no_std)] +#![no_std] //! Auto generated (bindgen) wrapper for LibOSDP C API exposed from osdp.h //! [here](https://github.com/goToMain/libosdp/blob/master/include/osdp.h). diff --git a/libosdp/Cargo.toml b/libosdp/Cargo.toml index 6c1ee94..3e760a1 100644 --- a/libosdp/Cargo.toml +++ b/libosdp/Cargo.toml @@ -29,7 +29,7 @@ sha256 = "1.5.0" [features] default = ["std"] -std = ["libosdp-sys/std", "thiserror", "serde/std"] +std = ["thiserror", "serde/std"] [[example]] name = "cp"