gchemol_readwrite/lib.rs
1// [[file:../gchemol-readwrite.note::0c98a9cf][0c98a9cf]]
2//===============================================================================#
3// DESCRIPTION: basic read & write support for molecular file
4//
5// OPTIONS: ---
6// REQUIREMENTS: ---
7// NOTES: ---
8// AUTHOR: Wenping Guo <ybyygu@gmail.com>
9// LICENCE: GPL version 3
10// CREATED: <2018-04-11 Wed 15:42>
11//===============================================================================#
12// 0c98a9cf ends here
13
14// [[file:../gchemol-readwrite.note::7fbdd0af][7fbdd0af]]
15// ignore compiler warnings due to nom macro uses
16#[allow(unused)]
17pub mod formats;
18
19mod io;
20mod template;
21// 7fbdd0af ends here
22
23// [[file:../gchemol-readwrite.note::efea89c0][efea89c0]]
24pub mod prelude {
25 pub use crate::io::FromFile;
26 pub use crate::io::StringIO;
27 pub use crate::io::ToFile;
28 pub use crate::template::TemplateRendering;
29}
30
31pub use crate::formats::describe_backends;
32pub use crate::io::{find_files, guess_format_from_path, read, read_all, read_from, write, write_format};
33pub use crate::template::Template;
34pub use crate::template::{to_json, to_json_value};
35// efea89c0 ends here