cargo / memchr / audit
cargo : memchr @ 2.8.1
PE Patrick Elsen signed 2026-06-02 published 2026-06-02

Cargo.toml

90 lines · toml · 1 line annotation

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO## When uploading crates to the registry Cargo will automatically# "normalize" Cargo.toml files for maximal compatibility# with all versions of Cargo and also rewrite `path` dependencies# to registry (e.g., crates.io) dependencies.## If you are reading this file be aware that the original Cargo.toml# will likely look very different (and much more reasonable).# See Cargo.toml.orig for the original contents.
[package]edition = "2021"rust-version = "1.61"name = "memchr"version = "2.8.1"authors = [    "Andrew Gallant <jamslam@gmail.com>",    "bluss",]build = falseexclude = [    "/.github",    "/benchmarks",    "/fuzz",    "/scripts",    "/tmp",]autolib = falseautobins = falseautoexamples = falseautotests = falseautobenches = false
Line 12–33

build = false and no build.rs; [lib] declares neither proc-macro = true nor any other compile-time execution surface, justifying has-build-exec and has-install-exec. The exclude list (/.github, /benchmarks, /fuzz, /scripts, /tmp) keeps the published crate to its source and tests — fuzz/ lives upstream only.

description = """Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for1, 2 or 3 byte search and single substring search."""homepage = "https://github.com/BurntSushi/memchr"documentation = "https://docs.rs/memchr/"readme = "README.md"keywords = [    "memchr",    "memmem",    "substring",    "find",    "search",]license = "Unlicense OR MIT"repository = "https://github.com/BurntSushi/memchr"[package.metadata.docs.rs]rustdoc-args = ["--generate-link-to-definition"][features]alloc = []default = ["std"]libc = []logging = ["dep:log"]rustc-dep-of-std = ["core"]std = ["alloc"]use_std = ["std"][lib]name = "memchr"path = "src/lib.rs"bench = false[dependencies.core]version = "1.0.0"optional = truepackage = "rustc-std-workspace-core"[dependencies.log]version = "0.4.20"optional = true[dev-dependencies.quickcheck]version = "1.0.3"default-features = false[profile.bench]debug = 2[profile.release]debug = 2[profile.test]opt-level = 3debug = 2