Skip to content

Commit

Permalink
[WIP] support smol
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Apr 9, 2024
1 parent d3ed228 commit 19c0713
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
with:
command: test
args: --all --no-default-features --features async-std-runtime,all-transport
- name: Test smol version
uses: actions-rs/cargo@v1
with:
command: test
args: --all --no-default-features --features smol-runtime,all-transport

fmt:
name: Formatting
Expand Down
7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ rust-version = "1.62.0"
default = ["tokio-runtime", "all-transport"]
tokio-runtime = ["tokio", "tokio-util"]
async-std-runtime = ["async-std"]
smol-runtime = ["smol"]
all-transport = ["ipc-transport", "tcp-transport"]
ipc-transport = []
tcp-transport = []
Expand All @@ -26,13 +27,17 @@ async-trait = "0.1"
parking_lot = "0.12"
rand = "0.8"
bytes = "1"
smol = { version = "0.3.2", optional = true }
tokio = { version = "1", features = ["full"], optional = true }
tokio-util = { version = "0.7", features = ["compat"], optional = true }
num-traits = "0.2"
dashmap = "5"
crossbeam-queue = "0.3"
uuid = { version = "1", features = ["v4"] }
regex = { version = "1", default-features = false, features = ["std", "unicode-perl"] }
regex = { version = "1", default-features = false, features = [
"std",
"unicode-perl",
] }
once_cell = "1"
log = "0.4"
asynchronous-codec = "0.7"
Expand Down

0 comments on commit 19c0713

Please sign in to comment.