Skip to content

Commit e1160d7

Browse files
committed
use vendored rsloop published on crates.io
1 parent 4854a90 commit e1160d7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

examples/rust/Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ crate-type = ["cdylib"]
1111
[dependencies]
1212
async-std = "1"
1313
pyo3 = { version = "0.28", features = ["extension-module"] }
14-
rsloop = { path = "../.." }
14+
rsloop = { version = "0.1.14" }
1515

1616
[profile.release]
1717
opt-level = 3

examples/rust/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ future into a Python awaitable attached to the current running loop.
1414

1515
## Run
1616

17-
From the repository root, the simplest end-to-end run is:
17+
From the folder, the simplest end-to-end run is:
1818

1919
```bash
20-
uv run --with . --with ./examples/rust python examples/rust/demo.py
20+
uv run --with maturin maturin develop --release
21+
uv run --with rsloop python demo.py
2122
```
2223

2324
If you only want to check the Rust builds, use:

0 commit comments

Comments
 (0)