File: lib.rs

package info (click to toggle)
rust-safe-transmute 0.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 336 kB
  • sloc: makefile: 4
file content (24 lines) | stat: -rw-r--r-- 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![cfg_attr(not(feature = "std"), no_std)]


#[cfg(feature = "std")]
extern crate core;

#[macro_use]
#[cfg(feature = "alloc")]
extern crate alloc;

#[cfg_attr(feature = "alloc", macro_use)]
extern crate safe_transmute;


mod guard;
mod error;
mod base;
mod bool;
mod full;
mod util;


include!("test_util/le_to_native.rs");
include!("test_util/aligned_vec.rs");