Skip to content

Commit

Permalink
const_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 0a8c17e commit be7ca10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions protocols/v2/const-sv2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ keywords = ["stratum", "mining", "bitcoin", "protocol"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
no_std = []

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion protocols/v2/const-sv2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//! `channel_id`. In this case, the first 4 bytes of the payload represent the
//! `channel_id` the message is destined for.
#![cfg_attr(feature = "no_std", no_std)]
#![no_std]

/// Identifier for the extension_type field in the SV2 frame, indicating no
/// extensions.
Expand Down

0 comments on commit be7ca10

Please sign in to comment.