1#![allow(
7 clippy::missing_safety_doc,
8 clippy::module_inception,
9 clippy::needless_doctest_main,
10 clippy::upper_case_acronyms
11)]
12#![cfg_attr(not(feature = "std"), no_std)]
13#![cfg_attr(feature = "nightly", feature(allocator_api))]
14#[cfg(not(any(feature = "std", feature = "alloc")))]
16compile_error! {
17 "Either the 'std' or 'alloc' feature must be enabled."
18}
19#[cfg(feature = "alloc")]
21extern crate alloc;
22#[macro_use]
24pub(crate) mod macros {
25 #[macro_use]
26 pub mod seal;
27}
28pub mod error;
30pub mod point;
31#[doc(inline)]
33pub use self::{
34 error::{Error, Result},
35 point::*,
36};
37#[doc(hidden)]
39pub mod prelude {
40 pub use crate::point::*;
41}