diff --git a/rr_frontend/Cargo.toml b/rr_frontend/Cargo.toml index d120b87a568a9ca96c32eca1ff03c639235fc7d9..52b35df1b3d078331b7a0e5a4800a3ecfb73e537 100644 --- a/rr_frontend/Cargo.toml +++ b/rr_frontend/Cargo.toml @@ -1,11 +1,19 @@ [workspace] members = [ "analysis", - "translation", - "rr_rustc_interface", "annotations", "attribute_parse", "radium", + "refinedrust_frontend", + "rr_rustc_interface", "rrconfig", - "refinedrust_frontend" + "translation" ] + +[workspace.dependencies] +analysis.path = "analysis" +attribute_parse.path = "attribute_parse" +radium.path = "radium" +rr_rustc_interface.path = "rr_rustc_interface" +rrconfig.path = "rrconfig" +translation.path = "translation" diff --git a/rr_frontend/analysis/Cargo.toml b/rr_frontend/analysis/Cargo.toml index 1d621db9af6d2bc71b1f433d27a4d19192208713..d75e23c777e9597f905d0c862a0a66ec4c5d6afe 100644 --- a/rr_frontend/analysis/Cargo.toml +++ b/rr_frontend/analysis/Cargo.toml @@ -5,13 +5,14 @@ authors = ["Federico Poli <federpoli@gmail.com>"] edition = "2021" [dependencies] +rr_rustc_interface.workspace = true + log = { version = "0.4", features = ["release_max_level_info"] } serde = { version = "1", features = ["derive"] } serde_json = "1" env_logger = "0.11" syn = { version = "2", features = [ "full", "parsing" ] } derive_more = { version = "1.0.0-beta.6", features = [ "full" ] } -rr_rustc_interface = { path = "../rr_rustc_interface" } [dev-dependencies] compiletest_rs = "0.10" diff --git a/rr_frontend/radium/Cargo.toml b/rr_frontend/radium/Cargo.toml index b02b9f15ef764973e1dd688e70b051973e3ff432..563988aabe9df397ba04380499d3455582b453db 100644 --- a/rr_frontend/radium/Cargo.toml +++ b/rr_frontend/radium/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +rrconfig.workspace = true + log = "0.4" -rrconfig = { path = "../rrconfig" } indent_write = "2" diff --git a/rr_frontend/refinedrust_frontend/Cargo.toml b/rr_frontend/refinedrust_frontend/Cargo.toml index 7a1c26145d316493d0da03d52f331e7d53ef2dea..b815571b152c6b8b9c689f1618b55c8647a0a16e 100644 --- a/rr_frontend/refinedrust_frontend/Cargo.toml +++ b/rr_frontend/refinedrust_frontend/Cargo.toml @@ -16,14 +16,13 @@ doctest=false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +rr_rustc_interface.workspace = true +rrconfig.workspace = true +translation.workspace = true + log = "0.4" env_logger = "0.11" fs_extra = "1" -translation = { path = "../translation" } -rr_rustc_interface = { path = "../rr_rustc_interface" } -rrconfig = { path = "../rrconfig" } - - [package.metadata.rust-analyzer] rustc_private=true diff --git a/rr_frontend/translation/Cargo.toml b/rr_frontend/translation/Cargo.toml index 5db4c97ff9e03acb552bd0b33207fbe7b2b81fac..f754d255fd39096cfb59af5f785e6a1587f141a4 100644 --- a/rr_frontend/translation/Cargo.toml +++ b/rr_frontend/translation/Cargo.toml @@ -5,6 +5,12 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +analysis.workspace = true +attribute_parse.workspace = true +radium.workspace = true +rr_rustc_interface.workspace = true +rrconfig.workspace = true + log = "0.4" datafrog = "2" regex = "1" @@ -16,12 +22,5 @@ serde_json = "1" serde = {version = "1", features = ["derive"]} topological-sort = "0.2" -analysis = { path = "../analysis" } -radium = { path = "../radium" } -rr_rustc_interface = { path = "../rr_rustc_interface" } -attribute_parse = { path = "../attribute_parse" } -rrconfig = { path = "../rrconfig" } - - [package.metadata.rust-analyzer] rustc_private=true