]> git.nihav.org Git - nihav-tool.git/commitdiff
update for new nihav_registry crate
authorKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 20 Feb 2020 10:36:58 +0000 (11:36 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 20 Feb 2020 10:36:58 +0000 (11:36 +0100)
Cargo.toml
src/main.rs

index f94d08dc8288dfdb94a3f050b088b3078994ed92..2cbd17e7da2f2ba9e301216f5f58f0d2466d0c3b 100644 (file)
@@ -6,4 +6,5 @@ edition = "2018"
 
 [dependencies]
 nihav_core = { path="../nihav-core" }
+nihav_registry = { path="../nihav-registry" }
 nihav_allstuff = { path="../nihav-allstuff" }
index 784fccb8382db37051eb71d7b069b19ca6f40169..1541b18e757e639841c0c64da3306c2f70f75084 100644 (file)
@@ -1,4 +1,5 @@
 extern crate nihav_core;
+extern crate nihav_registry;
 extern crate nihav_allstuff;
 
 use std::io::SeekFrom;
@@ -8,7 +9,7 @@ use nihav_core::io::byteio::{FileReader, ByteReader};
 use nihav_core::frame::*;
 use nihav_core::codecs::*;
 use nihav_core::demuxers::*;
-use nihav_core::detect;
+use nihav_registry::detect;
 use nihav_allstuff::*;
 use std::env;