Skip to content

Commit

Permalink
initial cli boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Jan 2, 2024
1 parent 26e8bcc commit e27ddbb
Show file tree
Hide file tree
Showing 8 changed files with 380 additions and 4 deletions.
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ version = "0.1.0"

[workspace]
resolver = "2"
default-members = [
"minimap-cli"
]
members = [
"minimap-app",
"minimap-core"
"minimap-core",
"minimap-cli",
]

[workspace.dependencies]
minimap-core = { path = "minimap-core" }
thiserror = "1.0.50"
2 changes: 1 addition & 1 deletion minimap-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tauri-build = { version = "1.5.0", features = [] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.5.2", features = [] }
minimap-core = { path = "../minimap-core" }
minimap-core.workspace = true
slotmap = "1.0.7"
thiserror = "1.0.50"
base64 = "0.21.5"
Expand Down
12 changes: 12 additions & 0 deletions minimap-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "minimap-cli"
version = { workspace = true }
edition = "2021"
publish = false

[dependencies]
minimap-core.workspace = true
thiserror.workspace = true
chrono = "0.4.31"
toml = "0.8.8"
serde = { version = "1.0.193", features = ["derive"] }
Loading

0 comments on commit e27ddbb

Please sign in to comment.