1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//
// lib.rs
// Copyright (C) 2019 Malcolm Ramsay <malramsay64@gmail.com>
// Distributed under terms of the MIT license.
//
// This file is primarily for the definition of the public API of the crate, with most of the
// functions and data structures being defined in submodules. This should additionally mean that
// most of the imports throughout the rest of the crate can just be from the top level and nicely
// grouped together.

pub mod basis;
pub mod cell;
pub mod ops_macros;
pub mod optimisation;
pub mod shape;
pub mod site;
pub mod state;
pub mod to_svg;
pub mod traits;
pub mod transform;
pub mod wallpaper;

pub use crate::basis::*;
pub use crate::cell::*;
pub use crate::optimisation::*;
pub use crate::shape::*;
pub use crate::site::*;
pub use crate::state::*;
pub use crate::traits::{FromSymmetry, Intersect, Shape};
pub use crate::transform::Transform2;
pub use crate::wallpaper::WallpaperGroup;