wplot/
wplot_lib.rs

1#![ cfg_attr( not( feature = "use_std" ), no_std ) ]
2#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
3#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
4#![ doc( html_root_url = "https://docs.rs/wplot/latest/wplot/" ) ]
5#![ warn( rust_2018_idioms ) ]
6#![ warn( missing_debug_implementations ) ]
7#![ warn( missing_docs ) ]
8
9// #![ feature( trace_macros ) ]
10
11//!
12//! Plot interface.
13//!
14
15#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
16
17// pub use ::wmath as math;
18// use ::wtools::prelude::*;
19use ::wtools::mod_interface;
20
21/// Namespace with dependencies.
22pub mod dependency
23{
24  pub use ::image;
25  pub use ::open;
26  pub use ::wmath;
27  pub use ::rgb;
28}
29
30crate::mod_interface!
31{
32
33  /// Describe colors.
34  #[ cfg( feature = "use_std" ) ]
35  layer color;
36  /// Abstraction.
37  #[ cfg( feature = "use_std" ) ]
38  layer abs;
39  /// Concrete system.
40  #[ cfg( feature = "use_std" ) ]
41  layer sys;
42
43  use super::math;
44  protected use ::wmath as math;
45  protected( crate ) use ::wtools::prelude::*;
46
47}