File: lib.rs

package info (click to toggle)
rust-endi 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116 kB
  • sloc: makefile: 4
file content (13 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(clippy::unusual_byte_groupings)]
#![deny(rust_2018_idioms)]
#![doc = include_str!("../README.md")]
#![doc(test(attr(warn(unused), deny(warnings))))]

mod endian;
pub use endian::{Endian, BE, LE, NATIVE_ENDIAN, NETWORK_ENDIAN};

#[cfg(feature = "std")]
mod io;
#[cfg(feature = "std")]
pub use io::{ReadBytes, WriteBytes};