#bit-manipulation #integer

xbitwise

A Rust library that extends the basic functionality of bitwise operations

1 unstable release

0.1.0 Dec 14, 2022

#2622 in Rust patterns

MIT license

24KB
303 lines

xbitwise

A Rust library that extends the basic functionality of bitwise operations

Usage

Add this to your Cargo.toml:

[dependencies]
xbitwise = "0.1"

Or you can add for the different features

[dependencies]
xbitwise = { version = "0.1", features = ["i32", "u32"] }

default = ["signed", "unsigned"]

signed = ["i8", "i16", "i32", "i64", "i128"]

unsigned = ["u8", "u16", "u32", "u64", "u128"]

i8, i16, i32, i64, i128, u8, u16, u32, u64, u128

Version requirement: xbitwise supports rustc 1.31 and up.

Bug reports

You can report any bugs here.

License

xbitwise is distributed under the terms of both the MIT license.

See LICENSE-MIT


lib.rs:

Extend Bitwise Library for Rust

A Rust library that extends the basic functionality of bitwise operations

Usage

Add this to your Cargo.toml:

[dependencies]
xbitwise = "0.1"

Or you can add for the different features

[dependencies]
xbitwise = { version = "0.1", features = ["i32", "u32"] }

default = ["signed", "unsigned"]

signed = ["i8", "i16", "i32", "i64", "i128"]

unsigned = ["u8", "u16", "u32", "u64", "u128"]

i8, i16, i32, i64, i128, u8, u16, u32, u64, u128

Version requirement: xbitwise supports rustc 1.31 and up.

Bug reports

You can report any bugs here.

License

xbitwise is distributed under the terms of both the MIT license.

See LICENSE-MIT

No runtime deps

Features