Skip to content

Commit

Permalink
framing_sv2: is a no_std crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges Palauqui committed Oct 28, 2024
1 parent d062604 commit 31cf56a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions protocols/v2/framing-sv2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ binary_sv2 = { version = "^1.0.0", path = "../../../protocols/v2/binary-sv2/bina
buffer_sv2 = { version = "^1.0.0", path = "../../../utils/buffer", optional=true }

[features]
no_std = []
with_serde = ["binary_sv2/with_serde", "serde", "buffer_sv2/with_serde"]
with_serde = ["binary_sv2/with_serde", "serde", "buffer_sv2?/with_serde"]
with_buffer_pool = ["binary_sv2/with_buffer_pool", "buffer_sv2"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion protocols/v2/framing-sv2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
//!
//! The `with_serde` feature flag is only used for the Message Generator, and deprecated for any other kind of usage. It will likely be fully deprecated in the future.

#![cfg_attr(feature = "no_std", no_std)]
#![no_std]

extern crate alloc;

/// SV2 framing types
Expand Down

0 comments on commit 31cf56a

Please sign in to comment.