Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions crates/proc-macro-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ semver.workspace = true
rayon.workspace = true

[dev-dependencies]
# Enable both features for test.
proc-macro-api = { path = "../proc-macro-api", features = [
"in-ra",
"in-proc-macro-srv",
] }
# Enable both features for test, keep on a single line for cargo-workspaces.
proc-macro-api = { path = "../proc-macro-api", features = ["in-ra", "in-proc-macro-srv"] }

[features]
default = ["in-ra"]
Expand Down
12 changes: 4 additions & 8 deletions crates/proc-macro-srv-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ doctest = false

[dependencies]
proc-macro-srv = { workspace = true, optional = true }
proc-macro-api = { path = "../proc-macro-api", version = "0.0.0", default-features = false, features = [
"in-proc-macro-srv",
] }
# Keep on a single line for cargo-workspaces
proc-macro-api = { path = "../proc-macro-api", version = "0.0.0", default-features = false, features = ["in-proc-macro-srv"] }
clap = { version = "4.5.42", default-features = false, features = ["std"] }
# span = { workspace = true, default-features = false } does not work
span = { path = "../span", version = "0.0.0", default-features = false }
Expand All @@ -30,11 +29,8 @@ intern.workspace = true
# used as proc macro test target
proc-macro-test.path = "../proc-macro-srv/proc-macro-test"

# Enable the in-ra feature for tests.
proc-macro-api = { path = "../proc-macro-api", default-features = false, features = [
"in-proc-macro-srv",
"in-ra",
] }
# Enable the in-ra feature for tests, keep on a single line for cargo-workspaces.
proc-macro-api = { path = "../proc-macro-api", default-features = false, features = ["in-proc-macro-srv", "in-ra"] }
tt.workspace = true

[features]
Expand Down
5 changes: 2 additions & 3 deletions crates/proc-macro-srv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ rustc-hash = { workspace = true, optional = true }
span = { path = "../span", version = "0.0.0", default-features = false , optional = true }
intern = { workspace = true, optional = true }
tt = { path = "../tt", version = "0.0.0", default-features = false }
proc-macro-api = { path = "../proc-macro-api", version = "0.0.0", default-features = false, features = [
"in-proc-macro-srv",
] }
# Keep on a single line for cargo-workspaces
proc-macro-api = { path = "../proc-macro-api", version = "0.0.0", default-features = false, features = ["in-proc-macro-srv"] }
stdx = { workspace = true, optional = true }

[dev-dependencies]
Expand Down
Loading