Commit 3890ed01 authored by Luca Barbato's avatar Luca Barbato Committed by Thomas Daede
Browse files

Remove extern crate

parent b1341ba1
......@@ -10,6 +10,7 @@
use arg_enum_proc_macro::ArgEnum;
use bitstream_io::*;
use num_derive::*;
use serde_derive::{Serialize, Deserialize};
use crate::encoder::*;
use crate::frame::Frame;
......
......@@ -11,6 +11,7 @@ use crate::muxer::{create_muxer, Muxer};
use crate::{ColorPrimaries, MatrixCoefficients, TransferCharacteristics};
use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, Shell};
use rav1e::*;
use scan_fmt::scan_fmt;
use std::fs::File;
use std::io::prelude::*;
......
......@@ -9,9 +9,6 @@
#![deny(bare_trait_objects)]
#[macro_use]
extern crate scan_fmt;
mod common;
mod decoder;
mod muxer;
......
......@@ -10,16 +10,7 @@
#![allow(safe_extern_statics)]
#![deny(bare_trait_objects)]
#[macro_use]
extern crate serde_derive;
extern crate bincode;
#[cfg(all(test, feature="decode_test_dav1d"))]
extern crate dav1d_sys;
#[cfg(test)]
extern crate interpolate_name;
// Override assert! and assert_eq! in tests
#[cfg(test)]
#[macro_use]
extern crate pretty_assertions;
......
......@@ -40,6 +40,7 @@ use std::cmp;
use std::vec::Vec;
use crate::partition::PartitionType::*;
use arrayvec::*;
use serde_derive::{Serialize, Deserialize};
#[derive(Copy,Clone,PartialEq)]
pub enum RDOType {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment