mirror of https://codeberg.org/topola/topola.git
build/refactor: move secondary crates into 'crates' folder named by crate name
This commit is contained in:
parent
2d1af33204
commit
cbd3c77821
|
|
@ -1,10 +1,5 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = [".", "crates/*"]
|
||||||
".",
|
|
||||||
"cli",
|
|
||||||
"egui",
|
|
||||||
"macros/specctra_derive",
|
|
||||||
]
|
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
|
@ -47,7 +42,7 @@ thiserror = "1.0"
|
||||||
utf8-chars = "3.0.4"
|
utf8-chars = "3.0.4"
|
||||||
|
|
||||||
[dependencies.specctra_derive]
|
[dependencies.specctra_derive]
|
||||||
path = "macros/specctra_derive"
|
path = "crates/specctra_derive"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ serde.workspace = true
|
||||||
serde_json.workspace = true
|
serde_json.workspace = true
|
||||||
|
|
||||||
[dependencies.topola]
|
[dependencies.topola]
|
||||||
path = ".."
|
path = "../.."
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.clap]
|
[dependencies.clap]
|
||||||
|
|
@ -26,4 +26,7 @@ features = ["derive"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
clap_mangen = "0.2.23"
|
clap_mangen = "0.2.23"
|
||||||
clap = {version="4.5.18", features = ["derive"] }
|
|
||||||
|
[build-dependencies.clap]
|
||||||
|
version = "4.5.18"
|
||||||
|
features = ["derive"]
|
||||||
|
|
@ -23,7 +23,7 @@ spade.workspace = true
|
||||||
sys-locale = "0.3.1"
|
sys-locale = "0.3.1"
|
||||||
|
|
||||||
[dependencies.topola]
|
[dependencies.topola]
|
||||||
path = ".."
|
path = "../.."
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
[dependencies.unic-langid]
|
[dependencies.unic-langid]
|
||||||
|
|
@ -5,7 +5,7 @@ use unic_langid::LanguageIdentifier;
|
||||||
|
|
||||||
static_loader! {
|
static_loader! {
|
||||||
static LOCALES = {
|
static LOCALES = {
|
||||||
locales: "../locales",
|
locales: "../../locales",
|
||||||
fallback_language: "en-US",
|
fallback_language: "en-US",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue