From 6d14be169c120132b3cc79ece36709d1b8cf00b0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 18 Aug 2021 16:06:18 -0500 Subject: [PATCH] Activate memchr's dep-of-std feature (#356) --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e278b779..862e39df 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ crc32fast = { version = "1.2", optional = true } flate2 = { version = "1", optional = true } indexmap = { version = "1.1", optional = true } wasmparser = { version = "0.57", optional = true } -memchr = { version = "2.4", default-features = false } +memchr = { version = "2.4.1", default-features = false } # Internal feature, only used when building as part of libstd, not part of the # stable interface of this crate. @@ -81,7 +81,7 @@ cargo-all = [] #======================================= # Internal feature, only used when building as part of libstd, not part of the # stable interface of this crate. -rustc-dep-of-std = ['core', 'compiler_builtins', 'alloc'] +rustc-dep-of-std = ['core', 'compiler_builtins', 'alloc', 'memchr/rustc-dep-of-std'] [[example]] name = "ar"