Skip to content

Commit 61400f5

Browse files
committed
Enable use in no-std projects.
1 parent 4e02a5b commit 61400f5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ license = "MIT"
88
documentation = "https://docs.rs/bit-iter"
99
repository = "https://github.com/ctamblyn/bit-iter"
1010
keywords = ["bits", "iterator", "bit-twiddling"]
11-
categories = ["algorithms"]
11+
categories = ["algorithms", "no-std"]
1212

1313
[dependencies]

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
//! Bit 16 is set.
2424
//! ```
2525
26+
#![no_std]
27+
2628
#[cfg(test)]
2729
mod tests;
2830

0 commit comments

Comments
 (0)