]> Untitled Git - lemmy.git/blob - crates/db_schema/src/lib.rs
Add cargo feature for building lemmy_api_common with mininum deps (#2243)
[lemmy.git] / crates / db_schema / src / lib.rs
1 #[cfg(feature = "full")]
2 #[macro_use]
3 extern crate strum_macros;
4 #[cfg(feature = "full")]
5 #[macro_use]
6 extern crate diesel;
7 #[cfg(feature = "full")]
8 #[macro_use]
9 extern crate diesel_derive_newtype;
10 // this is used in tests
11 #[cfg(feature = "full")]
12 #[allow(unused_imports)]
13 #[macro_use]
14 extern crate diesel_migrations;
15
16 pub mod aggregates;
17 #[cfg(feature = "full")]
18 pub mod impls;
19 pub mod newtypes;
20 #[cfg(feature = "full")]
21 pub mod schema;
22 pub mod source;
23 #[cfg(feature = "full")]
24 pub mod traits;
25 #[cfg(feature = "full")]
26 pub mod utils;