Skip to content

Commit 6cb5731

Browse files
author
Andrew J Westlake
committed
Added some notes to README, added some more targets to Makefile
1 parent 7d27616 commit 6cb5731

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Makefile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,16 @@ clippy:
33
@touch src/lib.rs # Touching file to ensure that cargo clippy will re-check the project
44
cargo clippy --tests -- -Dwarnings
55
cargo clippy --tests -- -Dwarnings
6-
# for example in examples/*; do cargo clippy --manifest-path $$example/Cargo.toml -- -Dwarnings || exit 1; done
6+
# for example in examples/*; do cargo clippy --manifest-path $$example/Cargo.toml -- -Dwarnings || exit 1; done
7+
8+
fmt:
9+
cargo fmt --all -- --check
10+
11+
lint: fmt clippy
12+
@true
13+
14+
test: lint
15+
cargo test --features testing
16+
17+
publish: test
18+
cargo publish

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
* Contributing Notes: [github](https://github.com/awestlake87/pyo3-asyncio/blob/master/Contributing.md)
1313

14+
> PyO3 Asyncio is a _brand new_ part of the broader PyO3 ecosystem. Feel free to open any issues for feature requests or bugfixes for this crate.
15+
1416
## Quickstart
1517

1618
Here we initialize the runtime, import Python's `asyncio` library and run the given future to completion using Python's default `EventLoop` and Tokio. Inside the future, we convert `asyncio` sleep into a Rust future and await it.

0 commit comments

Comments
 (0)