aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-02-20 11:36:58 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-02-20 11:36:58 +0100
commit7d08c359b21e4d4628e2edf1471d51265958c307 (patch)
tree043cd574e28e5eec5e2f41ca9e6791ffdee262a2
parentfde9f7c350f401dec51e6a08c4aa8134744b4b68 (diff)
downloadnihav-tool-7d08c359b21e4d4628e2edf1471d51265958c307.tar.gz
update for new nihav_registry crate
-rw-r--r--Cargo.toml1
-rw-r--r--src/main.rs3
2 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f94d08d..2cbd17e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,4 +6,5 @@ edition = "2018"
[dependencies]
nihav_core = { path="../nihav-core" }
+nihav_registry = { path="../nihav-registry" }
nihav_allstuff = { path="../nihav-allstuff" }
diff --git a/src/main.rs b/src/main.rs
index 784fccb..1541b18 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -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;