# 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.63" name = "pyo3-asyncio-0-21" version = "0.21.0" authors = [ "Andrew J Westlake ", "David Hewitt ", ] exclude = [ "/.gitignore", "/codecov.yml", "/Makefile", ] description = "PyO3 utilities for Python's Asyncio library - 0.21 fork" homepage = "https://github.com/davidhewitt/pyo3-asyncio" documentation = "https://docs.rs/crate/pyo3-asyncio-0-21/" readme = "README.md" keywords = [ "pyo3", "python", "ffi", "async", "asyncio", ] categories = [ "api-bindings", "development-tools::ffi", ] license = "Apache-2.0" repository = "https://github.com/davidhewitt/pyo3-asyncio" [package.metadata.docs.rs] features = [ "attributes", "testing", "async-std-runtime", "tokio-runtime", ] [[example]] name = "async_std" path = "examples/async_std.rs" required-features = [ "attributes", "async-std-runtime", ] [[example]] name = "tokio" path = "examples/tokio.rs" required-features = [ "attributes", "tokio-runtime", ] [[example]] name = "tokio_current_thread" path = "examples/tokio_current_thread.rs" required-features = [ "attributes", "tokio-runtime", ] [[example]] name = "tokio_multi_thread" path = "examples/tokio_multi_thread.rs" required-features = [ "attributes", "tokio-runtime", ] [[test]] name = "test_async_std_asyncio" path = "pytests/test_async_std_asyncio.rs" harness = false required-features = [ "async-std-runtime", "testing", "attributes", ] [[test]] name = "test_async_std_run_forever" path = "pytests/test_async_std_run_forever.rs" harness = false required-features = [ "async-std-runtime", "testing", ] [[test]] name = "test_tokio_current_thread_asyncio" path = "pytests/test_tokio_current_thread_asyncio.rs" harness = false required-features = [ "tokio-runtime", "testing", "attributes", ] [[test]] name = "test_tokio_current_thread_run_forever" path = "pytests/test_tokio_current_thread_run_forever.rs" harness = false required-features = [ "tokio-runtime", "testing", ] [[test]] name = "test_tokio_multi_thread_asyncio" path = "pytests/test_tokio_multi_thread_asyncio.rs" harness = false required-features = [ "tokio-runtime", "testing", "attributes", ] [[test]] name = "test_tokio_multi_thread_run_forever" path = "pytests/test_tokio_multi_thread_run_forever.rs" harness = false required-features = [ "tokio-runtime", "testing", ] [[test]] name = "test_async_std_uvloop" path = "pytests/test_async_std_uvloop.rs" harness = false required-features = [ "async-std-runtime", "testing", ] [[test]] name = "test_tokio_current_thread_uvloop" path = "pytests/test_tokio_current_thread_uvloop.rs" harness = false required-features = [ "tokio-runtime", "testing", ] [[test]] name = "test_tokio_multi_thread_uvloop" path = "pytests/test_tokio_multi_thread_uvloop.rs" harness = false required-features = [ "tokio-runtime", "testing", ] [[test]] name = "test_race_condition_regression" path = "pytests/test_race_condition_regression.rs" harness = false required-features = [ "async-std-runtime", "testing", ] [dependencies.async-channel] version = "1.6" optional = true [dependencies.async-std] version = "1.12" features = ["unstable"] optional = true [dependencies.clap] version = "3.2" optional = true [dependencies.futures] version = "0.3" [dependencies.inventory] version = "0.3" optional = true [dependencies.once_cell] version = "1.14" [dependencies.pin-project-lite] version = "0.2" [dependencies.pyo3] version = "0.21" [dependencies.pyo3-asyncio-macros-0-21] version = "=0.21.0" optional = true [dependencies.tokio] version = "1.13" features = [ "rt", "rt-multi-thread", "time", ] optional = true [dev-dependencies.pyo3] version = "0.21" features = ["macros"] [features] async-std-runtime = ["async-std"] attributes = ["pyo3-asyncio-macros-0-21"] default = [] testing = [ "clap", "inventory", ] tokio-runtime = ["tokio"] unstable-streams = ["async-channel"]