diff --git a/.gitignore b/.gitignore index 53eaa21..b309da6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /target **/*.rs.bk +/.idea \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1665704..46ee29e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Version 0.6.0 +- [Breaking] Simplify the `Decoder` trait +- [Breaking] Require `Send + Sync` on the `Decoder` trait +- Many performance and multi-threading improvements + ## Version 0.5.1 - Remove unneeded library specifiers that were previously needed by cargo-c diff --git a/Cargo.lock b/Cargo.lock index 5395fae..e8c40f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "av-metrics" -version = "0.5.1" +version = "0.6.0" dependencies = [ "criterion", "crossbeam", @@ -45,16 +45,16 @@ dependencies = [ [[package]] name = "av-metrics" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53ad6ac140e4f1fcbe1fd5c9ae6ed5d89e15258d2c5abc87ceab0d151871804e" -replace = "av-metrics 0.5.1" +checksum = "51a616148eb7c0ca7abc35826304f919e2b6cff4dab4983f40ab7795e02782fa" +replace = "av-metrics 0.6.0" [[package]] name = "av-metrics-tool" -version = "0.5.1" +version = "0.6.0" dependencies = [ - "av-metrics 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "av-metrics 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap", "console", "maplit", @@ -335,9 +335,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.77" +version = "0.2.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235" +checksum = "aa7087f49d294270db4e1928fc110c976cd4b9e5a16348e0a1df09afa99e6c98" [[package]] name = "log" @@ -431,9 +431,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51ef7cd2518ead700af67bf9d1a658d90b6037d77110fd9c0445429d0ba1c6c9" +checksum = "1e0704ee1a7e00d7bb417d0770ea303c1bccbabf0ef1667dae92b5967f5f8a71" dependencies = [ "unicode-xid", ] @@ -449,9 +449,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfd016f0c045ad38b5251be2c9c0ab806917f82da4d36b2a327e5166adad9270" +checksum = "dcf6960dc9a5b4ee8d3e4c5787b4a112a8818e0290a42ff664ad60692fdf2032" dependencies = [ "autocfg", "crossbeam-deque", @@ -573,9 +573,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.57" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "164eacbdb13512ec2745fb09d51fd5b22b0d65ed294a1dcf7285a360c80a675c" +checksum = "a230ea9107ca2220eea9d46de97eddcb04cd00e92d13dda78e478dd33fa82bd4" dependencies = [ "itoa", "ryu", diff --git a/Cargo.toml b/Cargo.toml index cf40f2f..34aac47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,4 +9,4 @@ members = [ opt-level = 1 [replace] -"av-metrics:0.5.1" = { path = "av_metrics" } +"av-metrics:0.6.0" = { path = "av_metrics" } diff --git a/av_metrics/Cargo.toml b/av_metrics/Cargo.toml index b66db13..a373c33 100644 --- a/av_metrics/Cargo.toml +++ b/av_metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "av-metrics" -version = "0.5.1" +version = "0.6.0" authors = ["Josh Holmer "] edition = "2018" description = "A collection of algorithms for measuring audio/video metrics" @@ -35,3 +35,4 @@ bench = false [[bench]] name = "bench" harness = false +path = "benches/bench.rs" \ No newline at end of file diff --git a/av_metrics_tool/Cargo.toml b/av_metrics_tool/Cargo.toml index d41dada..2f6f16c 100644 --- a/av_metrics_tool/Cargo.toml +++ b/av_metrics_tool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "av-metrics-tool" -version = "0.5.1" +version = "0.6.0" authors = ["Josh Holmer "] edition = "2018" description = "A CLI tool for measuring audio/video metrics" @@ -9,7 +9,7 @@ repository = "https://github.com/rust-av/av-metrics" include = ["src/**/*"] [dependencies] -av-metrics = { version = "0.5", features = ["serde"] } +av-metrics = { version = "0.6", features = ["serde"] } clap = "2.33" maplit = "1" serde = "1"