wikibase/
lib.rs

1// lib.rs
2//
3// Copyright © 2018
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
16// along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18#![deny(
19//    missing_docs,
20    missing_debug_implementations,
21    missing_copy_implementations,
22    trivial_casts,
23    trivial_numeric_casts,
24    unsafe_code,
25    unstable_features,
26    unused_import_braces,
27    unused_qualifications
28)]
29
30extern crate curl;
31pub extern crate mediawiki;
32extern crate rand;
33extern crate rayon;
34extern crate regex;
35extern crate serde;
36#[macro_use]
37extern crate serde_json;
38
39pub mod configuration;
40pub mod datavalue;
41pub mod deserialize;
42pub mod entity;
43pub mod entity_container;
44pub mod entity_diff;
45pub mod entity_type;
46pub mod error;
47pub mod from_json;
48pub mod item;
49pub mod lexeme;
50pub mod locale_string;
51pub mod mediainfo;
52pub mod property;
53pub mod query;
54pub mod reference;
55pub mod requests;
56pub mod search_result;
57pub mod sitelink;
58pub mod snak;
59pub mod statement;
60pub mod validate;
61pub mod value;
62
63pub use crate::item::*;
64pub use configuration::*;
65pub use datavalue::*;
66pub use entity::*;
67pub use entity_type::*;
68pub use error::*;
69pub use lexeme::*;
70pub use locale_string::*;
71pub use mediainfo::*;
72pub use property::*;
73pub use query::SearchQuery;
74pub use reference::*;
75pub use search_result::*;
76pub use sitelink::*;
77pub use snak::*;
78pub use statement::*;
79pub use value::*;