diff options
Diffstat (limited to 'vendor/memchr/Cargo.toml')
-rw-r--r-- | vendor/memchr/Cargo.toml | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/vendor/memchr/Cargo.toml b/vendor/memchr/Cargo.toml index 630195281..b43898e29 100644 --- a/vendor/memchr/Cargo.toml +++ b/vendor/memchr/Cargo.toml @@ -10,17 +10,21 @@ # See Cargo.toml.orig for the original contents. [package] -edition = "2018" +edition = "2021" +rust-version = "1.60" name = "memchr" -version = "2.5.0" +version = "2.6.2" authors = [ "Andrew Gallant <jamslam@gmail.com>", "bluss", ] exclude = [ "/bench", + "/benchmarks", "/.github", "/fuzz", + "/scripts", + "/tmp", ] description = "Safe interface to memchr." homepage = "https://github.com/BurntSushi/memchr" @@ -33,18 +37,21 @@ keywords = [ "strchr", "string", ] -license = "Unlicense/MIT" +license = "Unlicense OR MIT" repository = "https://github.com/BurntSushi/memchr" +[package.metadata.docs.rs] +rustdoc-args = ["--generate-link-to-definition"] + [profile.bench] -debug = true +debug = 2 [profile.release] -debug = true +debug = 2 [profile.test] opt-level = 3 -debug = true +debug = 2 [lib] name = "memchr" @@ -59,20 +66,22 @@ version = "1.0.0" optional = true package = "rustc-std-workspace-core" -[dependencies.libc] -version = "0.2.18" +[dependencies.log] +version = "0.4.20" optional = true -default-features = false [dev-dependencies.quickcheck] version = "1.0.3" default-features = false [features] +alloc = [] default = ["std"] +libc = [] +logging = ["dep:log"] rustc-dep-of-std = [ "core", "compiler_builtins", ] -std = [] +std = ["alloc"] use_std = ["std"] |