# 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 = "ckb-async-runtime"
version = "0.200.0"
authors = ["Nervos Core Dev <dev@nervos.org>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CKB async runtime wrapper."
homepage = "https://github.com/nervosnetwork/ckb"
readme = "README.md"
license = "MIT"
repository = "https://github.com/nervosnetwork/ckb"

[lib]
name = "ckb_async_runtime"
path = "src/lib.rs"

[dependencies.ckb-logger]
version = "= 0.200.0"

[dependencies.ckb-spawn]
version = "= 0.200.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
]

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4"