| 1 | [package] |
| 2 | name = "async-std" |
| 3 | version = "1.13.1" |
| 4 | authors = [ |
| 5 | "Stjepan Glavina <stjepang@gmail.com>" , |
| 6 | "Yoshua Wuyts <yoshuawuyts@gmail.com>" , |
| 7 | "Friedel Ziegelmayer <me@dignifiedquire.com>" , |
| 8 | "Contributors to async-std" , |
| 9 | ] |
| 10 | edition = "2018" |
| 11 | rust-version = "1.63" |
| 12 | license = "Apache-2.0 OR MIT" |
| 13 | repository = "https://github.com/async-rs/async-std" |
| 14 | homepage = "https://async.rs" |
| 15 | description = "Deprecated in favor of `smol` - Async version of the Rust standard library" |
| 16 | keywords = ["async" , "await" , "future" , "std" , "task" ] |
| 17 | categories = ["asynchronous" , "concurrency" , "network-programming" ] |
| 18 | |
| 19 | [package.metadata.docs.rs] |
| 20 | features = ["docs" ] |
| 21 | rustdoc-args = ["--cfg" , "feature=\"docs\"" ] |
| 22 | |
| 23 | [features] |
| 24 | default = [ |
| 25 | "std" , |
| 26 | "async-global-executor" , |
| 27 | "async-io" , |
| 28 | "futures-lite" , |
| 29 | "kv-log-macro" , |
| 30 | "log" , |
| 31 | "pin-project-lite" , |
| 32 | "gloo-timers" , |
| 33 | ] |
| 34 | docs = ["attributes" , "unstable" , "default" ] |
| 35 | unstable = [ |
| 36 | "std" , |
| 37 | "async-io" , |
| 38 | "async-process" , |
| 39 | ] |
| 40 | attributes = ["async-attributes" ] |
| 41 | std = [ |
| 42 | "alloc" , |
| 43 | "crossbeam-utils" , |
| 44 | "futures-core/std" , |
| 45 | "futures-io" , |
| 46 | "memchr" , |
| 47 | "once_cell" , |
| 48 | "pin-utils" , |
| 49 | "slab" , |
| 50 | "wasm-bindgen-futures" , |
| 51 | "futures-channel" , |
| 52 | "async-channel" , |
| 53 | "async-lock" , |
| 54 | ] |
| 55 | alloc = [ |
| 56 | "futures-core/alloc" , |
| 57 | "pin-project-lite" , |
| 58 | ] |
| 59 | tokio1 = ["async-global-executor/tokio" ] |
| 60 | tokio02 = ["async-global-executor/tokio02" ] |
| 61 | tokio03 = ["async-global-executor/tokio03" ] |
| 62 | io_safety = [] |
| 63 | |
| 64 | [dependencies] |
| 65 | async-attributes = { version = "1.1.2" , optional = true } |
| 66 | async-lock = { version = "3.1.0" , optional = true } |
| 67 | crossbeam-utils = { version = "0.8.0" , optional = true } |
| 68 | futures-core = { version = "0.3.4" , optional = true, default-features = false } |
| 69 | futures-io = { version = "0.3.4" , optional = true } |
| 70 | kv-log-macro = { version = "1.0.6" , optional = true } |
| 71 | log = { version = "0.4.8" , features = ["kv_unstable" ], optional = true } |
| 72 | memchr = { version = "2.3.3" , optional = true } |
| 73 | once_cell = { version = "1.3.1" , optional = true } |
| 74 | pin-project-lite = { version = "0.2.0" , optional = true } |
| 75 | pin-utils = { version = "0.1.0-alpha.4" , optional = true } |
| 76 | slab = { version = "0.4.2" , optional = true } |
| 77 | async-channel = { version = "1.8.0" , optional = true } |
| 78 | |
| 79 | # dev dependency, but they are not allowed to be optional :/ |
| 80 | surf = { version = "2.0.0" , optional = true } |
| 81 | |
| 82 | |
| 83 | [target.'cfg(not(target_os = "unknown"))'.dependencies] |
| 84 | async-global-executor = { version = "2.4.0" , optional = true, features = ["async-io" ] } |
| 85 | async-io = { version = "2.2.0" , optional = true } |
| 86 | futures-lite = { version = "2.0.0" , optional = true } |
| 87 | async-process = { version = "2.0.0" , optional = true } |
| 88 | |
| 89 | [target.'cfg(target_arch = "wasm32")'.dependencies] |
| 90 | gloo-timers = { version = "0.3.0" , features = ["futures" ], optional = true } |
| 91 | wasm-bindgen-futures = { version = "0.4.10" , optional = true } |
| 92 | futures-channel = { version = "0.3.4" , optional = true } |
| 93 | |
| 94 | [target.'cfg(target_arch = "wasm32")'.dev-dependencies] |
| 95 | wasm-bindgen-test = "0.3.10" |
| 96 | getrandom = { version = "0.2.0" , features = ["js" ] } |
| 97 | |
| 98 | [dev-dependencies] |
| 99 | femme = "2.1.1" |
| 100 | rand = "0.8.0" |
| 101 | tempfile = "3.1.0" |
| 102 | futures = "0.3.4" |
| 103 | rand_xorshift = "0.3.0" |
| 104 | |
| 105 | [[test]] |
| 106 | name = "stream" |
| 107 | required-features = ["unstable" ] |
| 108 | |
| 109 | [[example]] |
| 110 | name = "tcp-ipv4-and-6-echo" |
| 111 | required-features = ["unstable" ] |
| 112 | |
| 113 | [[example]] |
| 114 | name = "surf-web" |
| 115 | required-features = ["surf" ] |
| 116 | |