Skip to content

Commit d33434c

Browse files
authored
chore: make pin-project-lite dep optional (#51)
1 parent 41ad124 commit d33434c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

concurrency/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spawned-rt = { workspace = true }
1010
tracing = { workspace = true }
1111
futures = "0.3.1"
1212
thiserror = "2.0.12"
13-
pin-project-lite = "0.2"
13+
pin-project-lite = { version = "0.2", optional = true }
1414

1515
[dev-dependencies]
1616
# This tokio imports are only used in tests, we should not use them in the library code.
@@ -22,4 +22,4 @@ path = "./src/lib.rs"
2222

2323
[features]
2424
# Enable this to log warnings when non-blocking GenServers block the runtime for too much time
25-
warn-on-block = []
25+
warn-on-block = ["dep:pin-project-lite"]

0 commit comments

Comments
 (0)