Skip to content

Commit e27ddbb

Browse files
committed
initial cli boilerplate
1 parent 26e8bcc commit e27ddbb

File tree

8 files changed

+380
-4
lines changed

8 files changed

+380
-4
lines changed

Cargo.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ version = "0.1.0"
33

44
[workspace]
55
resolver = "2"
6+
default-members = [
7+
"minimap-cli"
8+
]
69
members = [
710
"minimap-app",
8-
"minimap-core"
11+
"minimap-core",
12+
"minimap-cli",
913
]
14+
15+
[workspace.dependencies]
16+
minimap-core = { path = "minimap-core" }
17+
thiserror = "1.0.50"

minimap-app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tauri-build = { version = "1.5.0", features = [] }
1313
serde_json = "1.0"
1414
serde = { version = "1.0", features = ["derive"] }
1515
tauri = { version = "1.5.2", features = [] }
16-
minimap-core = { path = "../minimap-core" }
16+
minimap-core.workspace = true
1717
slotmap = "1.0.7"
1818
thiserror = "1.0.50"
1919
base64 = "0.21.5"

minimap-cli/Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "minimap-cli"
3+
version = { workspace = true }
4+
edition = "2021"
5+
publish = false
6+
7+
[dependencies]
8+
minimap-core.workspace = true
9+
thiserror.workspace = true
10+
chrono = "0.4.31"
11+
toml = "0.8.8"
12+
serde = { version = "1.0.193", features = ["derive"] }

0 commit comments

Comments
 (0)