]> git.nihav.org Git - nihav.git/commitdiff
re-export some core dependencies
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 20 Jan 2019 17:53:23 +0000 (18:53 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 20 Jan 2019 17:53:23 +0000 (18:53 +0100)
nihav-core/src/codecs/mod.rs
nihav-core/src/demuxers/mod.rs
nihav-core/src/frame.rs
nihav-core/src/test/dec_video.rs

index 4edb2ee8aa97254e845bc96ad9087e7574d114e5..1d128833234b5c944d7bd7de7cd7cd911d0e9590 100644 (file)
@@ -1,8 +1,8 @@
 use std::fmt;
 use std::ops::{Add, AddAssign, Sub, SubAssign};
 
-use crate::frame::*;
-use std::rc::Rc;
+pub use crate::frame::*;
+pub use std::rc::Rc;
 use std::mem;
 use crate::io::byteio::ByteIOError;
 use crate::io::bitreader::BitReaderError;
index 86de78de260044d8f03acaae512c523e13d85041..201e163b484116d13f0decbfac756c7532399ce0 100644 (file)
@@ -1,6 +1,6 @@
 use std::rc::Rc;
-use crate::frame::*;
-use crate::io::byteio::*;
+pub use crate::frame::*;
+pub use crate::io::byteio::*;
 
 #[derive(Debug,Clone,Copy,PartialEq)]
 #[allow(dead_code)]
index 2bfbe612d404d63cad674df3eb80fec7e2831691..9756dfbaded9a3f3402cd3b029f46af926d11600 100644 (file)
@@ -1,9 +1,9 @@
 use std::cmp::max;
 use std::collections::HashMap;
 use std::fmt;
-use std::rc::Rc;
-use std::cell::*;
-use crate::formats::*;
+pub use std::rc::Rc;
+pub use std::cell::*;
+pub use crate::formats::*;
 
 #[allow(dead_code)]
 #[derive(Clone,Copy,PartialEq)]
index 8dbc1839ae182dcf2e3fb9821b58647b9b2ec6ec..01cc42bb9f517a3f417be8aabb0741612bf83bca 100644 (file)
@@ -3,7 +3,7 @@ use std::io::prelude::*;
 use crate::frame::*;
 use crate::codecs::*;
 use crate::demuxers::*;
-use crate::io::byteio::*;
+//use crate::io::byteio::*;
 use super::wavwriter::WavWriter;
 
 fn write_pgmyuv(pfx: &str, strno: usize, num: u64, frmref: NAFrameRef) {