-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
37 lines (32 loc) · 1.17 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "genawaiter"
version = "0.99.1"
authors = ["John Simon <[email protected]>"]
edition = "2018"
license = "MIT"
description = "Stackless generators on stable Rust."
repository = "https://github.com/whatisaphone/genawaiter"
documentation = "https://docs.rs/genawaiter"
readme = "README-crates-io.md"
keywords = ["generator", "yield", "coroutine", "async", "await"]
categories = ["asynchronous", "concurrency", "rust-patterns"]
include = ["Cargo.toml", "README-crates-io.md", "src/**/*.rs"]
[dependencies]
futures-core = { version = "0.3.1", optional = true }
genawaiter-proc-macro = { version = "0.99.1", path = "./genawaiter-proc-macro", optional = true }
genawaiter-macro = { version = "0.99.1", path = "./genawaiter-macro" }
proc-macro-hack = { version = "0.5", optional = true }
[workspace]
members = ["genawaiter-macro", "genawaiter-proc-macro"]
[dev-dependencies]
futures = "0.3.1"
once_cell = "1.3.1"
rustversion = "1.0.2"
trybuild = "1"
[features]
default = ["proc_macro"]
futures03 = ["futures-core"]
nightly = []
strict = []
proc_macro = ["genawaiter-proc-macro", "proc-macro-hack", "genawaiter-macro/proc_macro"]