Skip to content

Commit bea8bae

Browse files
committed
chore: trim default dependency features for async runtime
1 parent 5cefcdc commit bea8bae

5 files changed

Lines changed: 5 additions & 11 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ thin-vec = "0.2.14"
4141
smol_str = { version = "0.1", features = ["serde"] }
4242
serde-semver = "0.2.1"
4343
tracing = "0.1.41"
44-
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
44+
tracing-subscriber = { version = "0.3.19", default-features = false, features = ["std", "fmt", "env-filter"] }
4545
tracing-tree = "0.4.0"
4646
wasm-bindgen-test = "0.3"
4747
semver = "1.0.26"

crates/fe/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ glob.workspace = true
3737
crossbeam-channel.workspace = true
3838
scip = "0.6.1"
3939
language-server = { workspace = true, optional = true }
40-
tokio = { version = "1.43.0", features = ["full"], optional = true }
40+
tokio = { version = "1.43.0", default-features = false, features = ["rt-multi-thread"], optional = true }
4141

4242
[dev-dependencies]
4343
dir-test.workspace = true

crates/language-server/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ async-std = "1.13.0"
2424
camino.workspace = true
2525
clap.workspace = true
2626
codespan-reporting = "0.11"
27-
futures = "0.3.31"
27+
futures = { version = "0.3.31", default-features = false, features = ["std"] }
2828
futures-batch = "0.6.1"
2929
rustc-hash.workspace = true
3030
salsa.workspace = true
3131
serde_json = "1.0.135"
3232
smol_str.workspace = true
33-
tokio = { version = "1.43.0", features = ["full", "io-std", "tracing", "net"] }
33+
tokio = { version = "1.43.0", default-features = false, features = ["rt-multi-thread", "macros", "sync", "time", "io-std", "io-util"] }
3434
tower = "0.5.2"
3535
tracing.workspace = true
3636
tracing-subscriber.workspace = true

crates/parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tree-sitter = "0.24"
2727
tree-sitter-fe = { path = "../tree-sitter-fe" }
2828
wasm-bindgen-test.workspace = true
2929
test-utils.workspace = true
30-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
30+
tracing-subscriber.workspace = true
3131

3232
[target.'cfg(target_arch = "wasm32")'.dependencies]
3333
wasm-bindgen = "0.2"

0 commit comments

Comments
 (0)