This commit is contained in:
2024-10-22 21:54:32 +03:00
commit d9b23d4a24
24 changed files with 507 additions and 0 deletions

27
xmpd-core/Cargo.toml Normal file
View File

@@ -0,0 +1,27 @@
[package]
name = "xmpd-core"
edition = "2021"
readme="README.md"
version.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
autobins = false
autotests = false
autoexamples = false
[features]
default=["cli", "gui"]
cli=[]
gui=[]
[[bin]]
name="xmpd"
path="src/main.rs"
[dependencies]
xmpd-cli={ path="../xmpd-cli" }
xmpd-gui={ path="../xmpd-gui" }
xmpd-manifest={ path="../xmpd-manifest" }
clap = { workspace=true }

0
xmpd-core/README.md Normal file
View File

9
xmpd-core/src/main.rs Normal file
View File

@@ -0,0 +1,9 @@
fn main() {
let args = std::env::args();
if args.len() > 1 {
// gui
} else {
// cli
}
}