# 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 = "par-dfs" version = "0.0.7" authors = ["romnn "] exclude = [] description = "Parallel, serial, and async dfs and bfs traversal" homepage = "https://github.com/romnn/par-dfs" readme = "README.md" keywords = [ "dfs", "bfs", "async", "rayon", "tokio", ] categories = [ "concurrency", "asynchronous", "data-structures", "algorithms", ] license-file = "LICENSE" repository = "https://github.com/romnn/par-dfs" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] rustc-args = [ "--cfg", "docsrs", ] [[example]] name = "sync_fs" path = "examples/sync/fs.rs" [[example]] name = "async_fs" path = "examples/async/fs.rs" [[bench]] name = "benches" harness = false [dependencies.async-trait] version = "0" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.pin-project] version = "1" optional = true [dependencies.rayon] version = "1" optional = true [dependencies.thiserror] version = "1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.clap] version = "3.2" features = ["derive"] [dev-dependencies.criterion] version = "0.4" features = ["async_tokio"] [dev-dependencies.paste] version = "1" [dev-dependencies.pretty_assertions] version = "1.3" [dev-dependencies.tokio] version = "1" features = [ "time", "rt-multi-thread", "macros", ] [dev-dependencies.tokio-stream] version = "0" features = ["fs"] [dev-dependencies.tokio-test] version = "0" [features] async = [ "dep:futures", "dep:pin-project", "dep:async-trait", ] default = ["sync"] full = [ "sync", "async", "rayon", ] rayon = ["dep:rayon"] sync = []