From 63d45aaa3fac97eef549ed41fd9601ac82c149f3 Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Fri, 21 Nov 2014 06:36:34 -0500 Subject: [PATCH] Exclude uchardet-sys from uchardet package See https://github.com/rust-lang/cargo/issues/937 for discussion. --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 96e95bf..4efced5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "uchardet" -version = "0.0.3" +version = "0.0.4" authors = ["Eric Kidd "] description = "Detect character encodings using uchardet library" @@ -12,5 +12,10 @@ repository = "https://github.com/emk/rust-uchardet" readme = "README.md" keywords = ["encoding", "text", "i18n"] +# Make sure we don't package this in our build, which will badly confuse +# crates.io and Cargo. See https://github.com/rust-lang/cargo/issues/937 +# for discussion. +exclude = ["uchardet-sys"] + [dependencies] uchardet-sys = "~0.0.2"