1#![deny(missing_debug_implementations, missing_copy_implementations)]
2#![warn(missing_docs, rustdoc::missing_crate_level_docs)]
3#![doc = include_str!("../readme.md")]
4#![doc(html_logo_url = "https://raw.githubusercontent.com/oovm/shape-rs/dev/projects/images/Trapezohedron.svg")]
5#![doc(html_favicon_url = "https://raw.githubusercontent.com/oovm/shape-rs/dev/projects/images/Trapezohedron.svg")]
6
7mod convert;
8
9mod display;
10
11pub mod third_party {
13 #[cfg(feature = "reqwest")]
14 pub use reqwest;
15}
16
17pub type Result<T> = std::result::Result<T, AliError>;
19
20#[derive(Clone)]
22pub struct AliError {
23 kind: Box<AliErrorKind>,
24}
25
26#[derive(Debug, Clone)]
28pub enum AliErrorKind {
29 UnknownError,
31 Network {
32 message: String,
33 },
34}