Skip to content

Commit 86422b2

Browse files
committed
refactor: split into core crate
1 parent 9c7b2f7 commit 86422b2

32 files changed

+39
-11
lines changed

Cargo.lock

Lines changed: 9 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: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1+
[workspace]
2+
members = [".", "crates/bargo-core"]
3+
14
[package]
25
name = "bargo"
36
version = "0.1.0"
47
edition = "2024"
58

69
[dependencies]
7-
clap = { version = "4.5.40", features = ["derive"] }
10+
bargo-core = { path = "crates/bargo-core" }
811
color-eyre = "0.6.5"
9-
dotenv = "0.15"
10-
hex = "0.4"
11-
serde = { version = "1.0.219", features = ["derive"] }
12-
serde_json = "1.0"
13-
toml = "0.8.23"
14-
tracing = "0.1.41"
15-
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
16-
atty = "0.2.14"
17-
which = "4.4"
1812

1913
[dev-dependencies]
2014
tempfile = "3.8"

crates/bargo-core/Cargo.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[package]
2+
name = "bargo-core"
3+
version = "0.1.0"
4+
edition = "2024"
5+
6+
[dependencies]
7+
clap = { version = "4.5.40", features = ["derive"] }
8+
color-eyre = "0.6.5"
9+
dotenv = "0.15"
10+
hex = "0.4"
11+
serde = { version = "1.0.219", features = ["derive"] }
12+
serde_json = "1.0"
13+
toml = "0.8.23"
14+
tracing = "0.1.41"
15+
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
16+
atty = "0.2.14"
17+
which = "4.4"
18+
19+
[dev-dependencies]
20+
tempfile = "3.8"
File renamed without changes.

0 commit comments

Comments
 (0)