Skip to content

Commit

Permalink
alright here we go
Browse files Browse the repository at this point in the history
  • Loading branch information
killercup committed Oct 31, 2023
1 parent c6cf52d commit e634498
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions msgpck/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "msgpck"
version = "0.1.0-rc.1"
version = "0.1.0"
edition = "2021"
authors = [
"Joakim Hulthe <[email protected]>",
Expand All @@ -11,14 +11,14 @@ license = "MIT"

[dependencies]
num-traits = { version = "0.2.17", default-features = false }
# msgpck_derive = { version = "0.1.0", path = "../msgpck_derive", optional = true }
msgpck_derive = { version = "0.1.0", path = "../msgpck_derive", optional = true }
heapless07 = { package = "heapless", version = "0.7.16", optional = true }
thiserror = { version = "1.0.50", optional = true }
embedded-io-async = { version = "0.6.0", optional = true }
defmt = { version = "0.3.5", optional = true }

[features]
default = ["std", "async"]
default = ["derive"]
# Enables support for types from the `heapless` crate, like Vec, String, LinearMap
heapless07 = ["dep:heapless07"]
# Enables support for types in the `alloc` crate, like String, HashMap, BTreeMap
Expand All @@ -36,7 +36,7 @@ std = [
"embedded-io-async?/std",
]
# Enables derive macros
# derive = ["dep:msgpck_derive"]
derive = ["dep:msgpck_derive"]
# Adds `inline(never)` annotations in some places
reduce-size = []
# Adds async packing for writers that support it
Expand Down
4 changes: 2 additions & 2 deletions msgpck/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ pub use crate::{
utils::{pack_array_header, slice_take, unpack_array_header, unpack_enum_header},
};

// #[cfg(feature = "derive")]
// pub use msgpck_derive::{MsgPck, UnMsgPck};
#[cfg(feature = "derive")]
pub use msgpck_derive::{MsgPck, UnMsgPck};

#[cfg(feature = "async")]
pub use crate::pack::pack_async::AsyncMsgPck;
Expand Down

0 comments on commit e634498

Please sign in to comment.