# 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 = "fut-compat" version = "0.1.0" authors = ["Denis Kerp"] description = "Offers compatibility between the tokio and async_std runtimes." readme = "README.md" keywords = [ "futures", "compatibility", "async", "tokio", "async-std", ] categories = ["asynchronous"] license = "MIT" repository = "https://github.com/DKerp/fut-compat" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.async-std] version = "^1" features = ["unstable"] optional = true [dependencies.async-trait] version = "^0.1" [dependencies.futures] version = "^0.3" [dependencies.tokio] version = "^1" features = [ "rt", "net", "io-util", "fs", ] optional = true [dependencies.tokio-stream] version = "^0.1" features = ["fs"] optional = true [dev-dependencies.async-std] version = "^1" features = ["unstable"] [dev-dependencies.tokio] version = "^1" features = [ "rt", "rt-multi-thread", "macros", ] [features] async-std-rt = ["async-std"] default = [] tokio-rt = [ "tokio", "tokio-stream", ]