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 @@ ...@@ -10,6 +10,7 @@
use arg_enum_proc_macro::ArgEnum; use arg_enum_proc_macro::ArgEnum;
use bitstream_io::*; use bitstream_io::*;
use num_derive::*; use num_derive::*;
use serde_derive::{Serialize, Deserialize};
use crate::encoder::*; use crate::encoder::*;
use crate::frame::Frame; use crate::frame::Frame;
......
...@@ -11,6 +11,7 @@ use crate::muxer::{create_muxer, Muxer}; ...@@ -11,6 +11,7 @@ use crate::muxer::{create_muxer, Muxer};
use crate::{ColorPrimaries, MatrixCoefficients, TransferCharacteristics}; use crate::{ColorPrimaries, MatrixCoefficients, TransferCharacteristics};
use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, Shell}; use clap::{App, AppSettings, Arg, ArgMatches, SubCommand, Shell};
use rav1e::*; use rav1e::*;
use scan_fmt::scan_fmt;
use std::fs::File; use std::fs::File;
use std::io::prelude::*; use std::io::prelude::*;
......
...@@ -9,9 +9,6 @@ ...@@ -9,9 +9,6 @@
#![deny(bare_trait_objects)] #![deny(bare_trait_objects)]
#[macro_use]
extern crate scan_fmt;
mod common; mod common;
mod decoder; mod decoder;
mod muxer; mod muxer;
......
...@@ -10,16 +10,7 @@ ...@@ -10,16 +10,7 @@
#![allow(safe_extern_statics)] #![allow(safe_extern_statics)]
#![deny(bare_trait_objects)] #![deny(bare_trait_objects)]
#[macro_use] // Override assert! and assert_eq! in tests
extern crate serde_derive;
extern crate bincode;
#[cfg(all(test, feature="decode_test_dav1d"))]
extern crate dav1d_sys;
#[cfg(test)]
extern crate interpolate_name;
#[cfg(test)] #[cfg(test)]
#[macro_use] #[macro_use]
extern crate pretty_assertions; extern crate pretty_assertions;
......
...@@ -40,6 +40,7 @@ use std::cmp; ...@@ -40,6 +40,7 @@ use std::cmp;
use std::vec::Vec; use std::vec::Vec;
use crate::partition::PartitionType::*; use crate::partition::PartitionType::*;
use arrayvec::*; use arrayvec::*;
use serde_derive::{Serialize, Deserialize};
#[derive(Copy,Clone,PartialEq)] #[derive(Copy,Clone,PartialEq)]
pub enum RDOType { 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