# 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" name = "until_needle" version = "0.1.0" authors = ["Yuki Yamaura "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An extension to the BufRead trait that allows reading until a specified pattern (needle) is found." homepage = "https://github.com/yamaura/until_needle" readme = "README.md" license = "MIT" repository = "https://github.com/yamaura/until_needle" [lib] name = "until_needle" path = "src/lib.rs" [dependencies.futures-core] version = "0.3.30" optional = true [dependencies.futures-util] version = "0.3.30" features = ["io"] optional = true [dependencies.regex] version = "1" optional = true [dev-dependencies.futures] version = "0.3.30" [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt-multi-thread", ] [features] default = ["regex"] futures = [ "dep:futures-core", "dep:futures-util", ] regex = ["dep:regex"]