Skip to content

Commit

Permalink
Make libosdp-sys no_std only
Browse files Browse the repository at this point in the history
  • Loading branch information
Sympatron committed Oct 2, 2024
1 parent 2c0a336 commit 2f8a7da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions libosdp-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ build-target = "0.4.0"
cc = "1.0.83"

[features]
default = ["std"]
std = []
packet_trace = []
data_trace = []
skip_mark_byte = []
2 changes: 1 addition & 1 deletion libosdp-sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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).

Expand Down
2 changes: 1 addition & 1 deletion libosdp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2f8a7da

Please sign in to comment.