mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-28 08:05:55 -05:00
c547a49ac8
I'm tired of all the boilerplate, so use the new GPL-3.0-linking-exception license identifier instead in all the server components. I left the ui stuff alone because I'm just going to replace it (#111). Add a checker for the header because it's easy to forget.
31 lines
801 B
Rust
31 lines
801 B
Rust
// This file is part of Moonfire NVR, a security camera network video recorder.
|
|
// Copyright (C) 2020 The Moonfire NVR Authors; see AUTHORS and LICENSE.txt.
|
|
// SPDX-License-Identifier: GPL-v3.0-or-later WITH GPL-3.0-linking-exception.
|
|
|
|
#![cfg_attr(all(feature = "nightly", test), feature(test))]
|
|
|
|
pub mod auth;
|
|
pub mod check;
|
|
mod coding;
|
|
mod compare;
|
|
pub mod db;
|
|
pub mod dir;
|
|
mod fs;
|
|
mod proto {
|
|
include!(concat!(env!("OUT_DIR"), "/mod.rs"));
|
|
}
|
|
mod raw;
|
|
pub mod recording;
|
|
use proto::schema;
|
|
pub mod signal;
|
|
pub mod upgrade;
|
|
pub mod writer;
|
|
|
|
// This is only for #[cfg(test)], but it's also used by the dependent crate, and it appears that
|
|
// #[cfg(test)] is not passed on to dependencies.
|
|
pub mod testutil;
|
|
|
|
pub use crate::db::*;
|
|
pub use crate::schema::Permissions;
|
|
pub use crate::signal::Signal;
|