num_format_windows/lib.rs
1//! A helper crate for [num-format] that only exists because num-format on Windows requires
2//! [bindgen] as a build dependency, which, if not broken out into a separate crate, would
3//! prevent num-format from being built in a `no_std` environment (build dependendies cannot
4//! currently be made contingent on the compilation target).
5//!
6//! Said differently, don't use this crate directly. It's just a work-around for
7//! [https://github.com/rust-lang/rust-bindgen/issues/1439](https://github.com/rust-lang/rust-bindgen/issues/1439).
8//!
9//! [bindgen]: https://github.com/rust-lang/rust-bindgen
10//! [num-format]: https://github.com/bcmyers/num-format
11#![allow(non_camel_case_types)]
12#![allow(non_snake_case)]
13#![allow(non_upper_case_globals)]
14#![doc(html_root_url = "https://docs.rs/num-format-windows/0.4.4")]
15
16#[cfg(windows)]
17include!(concat!(env!("OUT_DIR"), "\\bindings.rs"));