#![doc = include_str!("../docs.md")]
#![cfg_attr(not(test), no_std)]
#![cfg_attr(all(doc, feature = "nightly"), feature(doc_cfg))]
#![cfg_attr(all(any(doc, test), feature = "nightly"), feature(trivial_bounds))]
#![warn(clippy::all)]
#[doc(hidden)]
pub mod __private {
pub use static_assertions;
}
#[doc = include_str!("../usage_examples/bitfield.md")]
pub use macros::bitfield;
#[doc = include_str!("../usage_examples/bits.md")]
pub use macros::bits;
#[doc = include_str!("../usage_examples/with_bits.md")]
pub use macros::with_bits;
#[doc = include_str!("../usage_examples/set_bits.md")]
pub use macros::set_bits;
#[doc = include_str!("../usage_examples/conv_raw.md")]
pub use macros::ConvRaw;
#[cfg(feature = "nightly")]
#[cfg_attr(all(doc, feature = "nightly"), doc(cfg(feature = "nightly")))]
#[doc = include_str!("../usage_examples/unwrap_bits.md")]
pub use macros::UnwrapBits;
mod conv;
pub use conv::*;
mod traits;
pub use traits::*;
#[cfg(any(test, doc))]
extern crate self as proc_bitfield;
#[cfg(doc)]
pub mod example;