# 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 = "get_chunk" version = "1.2.2" exclude = [ ".github", "tests", ".gitignore", ".dockerignore", "Dockerfile", "README.md", "Cargo.lock", ] description = "File iterator or stream with auto or manual chunk size selection" readme = "README.md" keywords = [ "file", "iterator", "async-io", "chunk", ] categories = [ "asynchronous", "rust-patterns", ] license = "MIT" repository = "https://github.com/m62624/get_chunk" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] doctest = false [dependencies.async-trait] version = "0.1.80" optional = true [dependencies.strum] version = "0.26.3" optional = true [dependencies.strum_macros] version = "0.26.4" optional = true [dependencies.sysinfo] version = "0.30.12" [dependencies.tokio] version = "1.38.0" features = [ "rt", "fs", "io-util", ] optional = true [dependencies.tokio-stream] version = "0.1.15" optional = true [dev-dependencies.home] version = "0.5.9" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.sha2] version = "0.10.8" [dev-dependencies.uuid] version = "1.9.1" features = ["v4"] [features] debug = [] docs_fix = ["tokio/net"] size_format = [ "dep:strum", "dep:strum_macros", ] stream = [ "dep:tokio-stream", "dep:tokio", "dep:async-trait", ] tests = [ "tokio/macros", "tokio/rt-multi-thread", ]