mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-12-02 22:20:43 -05:00
lose "extern crate" everywhere (Rust 2018 edition)
This commit is contained in:
@@ -28,9 +28,6 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
extern crate cc;
|
||||
extern crate pkg_config;
|
||||
|
||||
fn main() {
|
||||
let libraries = [
|
||||
pkg_config::Config::new().atleast_version("54.1").probe("libavutil").unwrap(),
|
||||
|
||||
@@ -28,9 +28,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
extern crate libc;
|
||||
#[macro_use] extern crate log;
|
||||
|
||||
use log::info;
|
||||
use std::cell::{Ref, RefCell};
|
||||
use std::ffi::CStr;
|
||||
use std::fmt::{self, Write};
|
||||
|
||||
Reference in New Issue
Block a user