1#![no_std]
4#![allow(non_camel_case_types)]
5#![allow(non_upper_case_globals)]
6
7mod util;
8
9extern crate alloc;
10
11#[macro_use]
12extern crate num_derive;
13
14#[cfg(feature = "std")]
15extern crate std;
16
17use crate::util::string_to_static_array;
18use alloc::borrow::Cow;
19use core::{
20 ffi::{c_int, CStr},
21 fmt::{self, Debug, Display},
22 mem::size_of,
23 str::Utf8Error,
24};
25use num_traits::FromPrimitive;
26
27include!("bindgen.rs");
28include!("consts.rs");
29include!("default.rs");
30include!("display.rs");
31include!("from.rs");
32include!("getters.rs");
33include!("try_from.rs");