Skip to content

Commit 6a720b7

Browse files
committed
feature gate try_nb! and await!; run doc tests
1 parent c2415e4 commit 6a720b7

File tree

4 files changed

+204
-86
lines changed

4 files changed

+204
-86
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
/target/
21
**/*.rs.bk
2+
.#*
3+
/target/
34
Cargo.lock

Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ name = "nb"
88
repository = "https://github.com/japaric/nb"
99
version = "0.1.0"
1010

11-
[dependencies]
11+
[features]
12+
unstable = []
13+
14+
[dev-dependencies]
15+
futures = "0.1.17"

ci/script.sh

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ set -euxo pipefail
22

33
main() {
44
cargo check --target $TARGET
5+
6+
cargo check --target $TARGET --features unstable
7+
cargo test --target $TARGET --features unstable
58
}
69

710
main

0 commit comments

Comments
 (0)