From a529ca5e65ffb3e96415aa1503fccef04e7001a3 Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Fri, 1 Sep 2017 15:43:32 -0700 Subject: [PATCH 1/2] [Cargo.toml] Fix package.exclude warnings IIUC, the existing exclude rule has meant to do what it will do in the future (gitignore-like matching, not glob-only matching). This fix makes the rule to do what it was expected to do, and is forward-compatible, therefore fixing the warning messages. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 188f9768..3b6cd0f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" build = "build.rs" exclude = [ "book-example/*", - "src/theme/stylus", + "src/theme/stylus/**", ] [dependencies] From b1362bfa065a75b9369d169bd68a14d7d519bdae Mon Sep 17 00:00:00 2001 From: Behnam Esfahbod Date: Fri, 1 Sep 2017 15:50:49 -0700 Subject: [PATCH 2/2] [watch] Fix build warnings --- src/bin/watch.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bin/watch.rs b/src/bin/watch.rs index 0b65d8d0..01040ee5 100644 --- a/src/bin/watch.rs +++ b/src/bin/watch.rs @@ -1,6 +1,4 @@ extern crate notify; -extern crate time; -extern crate crossbeam; use std::path::Path; use self::notify::Watcher;