Skip to content

Commit 4b2c160

Browse files
committed
feat: add tokio support
1 parent fbee5e2 commit 4b2c160

File tree

5 files changed

+460
-176
lines changed

5 files changed

+460
-176
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ rustc_version = { version = "0.4.0" }
1818
serde = { version = "1.0", features = ["derive"] }
1919
serde_json = { version = "1.0" }
2020
uuid = { version = "1.7.0", features = ["v4", "fast-rng"] }
21+
tokio = { version = "1.36.0", features = ["full"], optional = true }
22+
23+
[features]
24+
default = []
25+
with_tokio = ["tokio"]

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,11 @@ Add this to your `Cargo.toml`:
2929

3030
```toml
3131
[dependencies]
32-
ray-rust = "0.1"
32+
ray-rust = "0.1.5"
33+
```
34+
35+
## Features
36+
37+
```toml
38+
ray-rust = { version = "0.1.5", features = ["with_tokio"] }
3339
```

0 commit comments

Comments
 (0)