refactor!: Moved CLI to inner package
- Increased version to 0.3.0 - Repository now is a Cargo workspace - Added squad-quest-cli package - Removed CLI-specific dependencies from main crate - Removed bin target from main package
This commit is contained in:
parent
5d6aa0422d
commit
47f55105dd
5 changed files with 37 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/target
|
||||
/cli/target
|
||||
|
|
|
|||
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -332,12 +332,20 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|||
|
||||
[[package]]
|
||||
name = "squad-quest"
|
||||
version = "0.2.0"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"toml",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "squad-quest-cli"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
"clap_derive",
|
||||
"serde",
|
||||
"squad-quest",
|
||||
"toml",
|
||||
]
|
||||
|
||||
|
|
|
|||
18
Cargo.toml
18
Cargo.toml
|
|
@ -1,11 +1,19 @@
|
|||
[workspace]
|
||||
members = ["cli"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.3.0"
|
||||
edition = "2024"
|
||||
repository = "https://2ndbeam.ru/git/2ndbeam/squad-quest"
|
||||
license = "MIT"
|
||||
|
||||
[package]
|
||||
name = "squad-quest"
|
||||
version = "0.2.0"
|
||||
edition = "2024"
|
||||
edition.workspace = true
|
||||
version.workspace = true
|
||||
repository.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.42"
|
||||
clap = { version = "4.5.53", features = ["derive"] }
|
||||
clap_derive = "4.5.49"
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
toml = "0.9.8"
|
||||
|
|
|
|||
13
cli/Cargo.toml
Normal file
13
cli/Cargo.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[package]
|
||||
name = "squad-quest-cli"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
repository.workspace = true
|
||||
license.workspace = true
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.42"
|
||||
clap = { version = "4.5.53", features = ["derive"] }
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
squad-quest = { version = "0.3.0", path = ".." }
|
||||
toml = "0.9.8"
|
||||
Loading…
Add table
Add a link
Reference in a new issue