diff --git a/Cargo.toml b/Cargo.toml index ef4a6ea..4ddf4ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,26 @@ rstar = "0.12" serde_json = "1.0" spade = "2.12" thiserror = "2.0" +clap = "4.5" +clap_mangen = "0.2" +contracts-try = "0.7" +eframe = { version = "0.31", default-features = false } +egui = "0.31" +enum_dispatch = "0.3" +fluent-templates = "0.13" +icu_experimental = "0.2" +icu_locale_core = "2.0.0-beta1" +libfuzzer-sys = "0.4" +proc-macro2 = "1.0" +quote = "1.0" +rfd = { version = "0.15", default-features = false } +specctra-core = { path = "crates/specctra-core" } +specctra_derive = { path = "crates/specctra_derive" } +syn = "2.0" +sys-locale = "0.3" +topola = { path = "", default-features = false } +unic-langid = "0.9" +utf8-chars = "3.0" [workspace.dependencies.bimap] version = "0.6.3" @@ -48,9 +68,9 @@ disable_contracts = ["contracts-try/disable_contracts"] [dependencies] bimap.workspace = true -contracts-try = "0.7" +contracts-try.workspace = true derive-getters.workspace = true -enum_dispatch = "0.3" +enum_dispatch.workspace = true geo.workspace = true log.workspace = true petgraph.workspace = true @@ -58,10 +78,7 @@ rstar.workspace = true serde.workspace = true spade.workspace = true thiserror.workspace = true - -[dependencies.specctra-core] -path = "crates/specctra-core" -features = ["rstar"] +specctra-core= { workspace = true, features = ["rstar"] } [dev-dependencies] serde_json.workspace = true diff --git a/crates/specctra-core/Cargo.toml b/crates/specctra-core/Cargo.toml index c1462a9..cc2a5be 100644 --- a/crates/specctra-core/Cargo.toml +++ b/crates/specctra-core/Cargo.toml @@ -11,9 +11,9 @@ edition = "2021" bimap.workspace = true geo-types.workspace = true serde.workspace = true -specctra_derive.path = "../specctra_derive" +specctra_derive.workspace = true thiserror.workspace = true -utf8-chars = "3.0" +utf8-chars.workspace = true [dependencies.rstar] workspace = true diff --git a/crates/specctra-core/fuzz/Cargo.toml b/crates/specctra-core/fuzz/Cargo.toml index 100b588..e64279a 100644 --- a/crates/specctra-core/fuzz/Cargo.toml +++ b/crates/specctra-core/fuzz/Cargo.toml @@ -12,10 +12,8 @@ edition = "2021" cargo-fuzz = true [dependencies] -libfuzzer-sys = "0.4" - -[dependencies.specctra-core] -path = ".." +libfuzzer-sys.workspace = true +specctra-core.workspace = true [[bin]] name = "fuzz_target_1" diff --git a/crates/specctra_derive/Cargo.toml b/crates/specctra_derive/Cargo.toml index 0642b12..56595f4 100644 --- a/crates/specctra_derive/Cargo.toml +++ b/crates/specctra_derive/Cargo.toml @@ -11,6 +11,6 @@ edition = "2021" proc-macro = true [dependencies] -proc-macro2 = "1.0" -quote = "1.0" -syn = "2.0" +proc-macro2.workspace = true +quote.workspace = true +syn.workspace = true diff --git a/crates/topola-cli/Cargo.toml b/crates/topola-cli/Cargo.toml index b750986..a19121d 100644 --- a/crates/topola-cli/Cargo.toml +++ b/crates/topola-cli/Cargo.toml @@ -19,18 +19,9 @@ disable_contracts = ["topola/disable_contracts"] [dependencies] serde.workspace = true serde_json.workspace = true - -[dependencies.topola] -path = "../.." -default-features = false - -[dependencies.clap] -version = "4.5" -features = ["derive"] +topola.workspace = true +clap= { workspace = true, features = ["derive"] } [build-dependencies] -clap_mangen = "0.2" - -[build-dependencies.clap] -version = "4.5" -features = ["derive"] +clap_mangen.workspace = true +clap= { workspace = true, features = ["derive"] } diff --git a/crates/topola-egui/Cargo.toml b/crates/topola-egui/Cargo.toml index e50d617..fd2042b 100644 --- a/crates/topola-egui/Cargo.toml +++ b/crates/topola-egui/Cargo.toml @@ -16,35 +16,22 @@ xdg-portal = ["rfd/async-std", "rfd/xdg-portal"] [dependencies] derive-getters.workspace = true -egui = "0.31" -fluent-templates = "0.13" +egui.workspace = true +fluent-templates.workspace = true geo.workspace = true -icu_experimental = "0.2" -icu_locale_core = "2.0.0-beta1" +icu_experimental.workspace = true +icu_locale_core.workspace = true log.workspace = true petgraph.workspace = true rstar.workspace = true serde.workspace = true serde_json.workspace = true spade.workspace = true -sys-locale = "0.3" - -[dependencies.topola] -path = "../.." -default-features = false - -[dependencies.unic-langid] -version = "0.9" -features = ["macros", "serde"] - -[dependencies.eframe] -version = "0.31" -default-features = false -features = ["accesskit", "default_fonts", "glow", "persistence", "wayland", "x11"] - -[dependencies.rfd] -version = "0.15" -default-features = false +sys-locale.workspace = true +topola.workspace = true +unic-langid= { workspace = true, features = ["macros", "serde"] } +eframe= { workspace = true, features = ["accesskit", "default_fonts", "glow", "persistence", "wayland", "x11"] } +rfd.workspace = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies] futures-lite = "2.6"