initial
This commit is contained in:
27
xmpd-core/Cargo.toml
Normal file
27
xmpd-core/Cargo.toml
Normal 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
0
xmpd-core/README.md
Normal file
9
xmpd-core/src/main.rs
Normal file
9
xmpd-core/src/main.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
fn main() {
|
||||
let args = std::env::args();
|
||||
if args.len() > 1 {
|
||||
// gui
|
||||
} else {
|
||||
// cli
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user