svgcleaner/lib.rs
1// svgcleaner could help you to clean up your SVG files
2// from unnecessary data.
3// Copyright (C) 2012-2018 Evgeniy Reizner
4//
5// This program is free software; you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation; either version 2 of the License, or
8// (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License along
16// with this program; if not, write to the Free Software Foundation, Inc.,
17// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
19#![forbid(unsafe_code)]
20
21#[cfg(feature = "cli-parsing")]
22#[macro_use]
23extern crate clap;
24
25#[macro_use]
26extern crate log;
27#[macro_use]
28extern crate error_chain;
29extern crate svgdom;
30
31pub use svgdom::{
32 ChainedErrorExt,
33 ParseOptions,
34 WriteOptions,
35};
36
37pub use options::*;
38pub use error::{
39 Error,
40 ErrorKind,
41};
42
43#[cfg(feature = "cli-parsing")]
44pub mod cli;
45
46pub mod cleaner;
47pub mod error;
48pub mod options;
49pub mod task;