Move CLI crate to root of workspace
Somehow I missed that this was a thing you could do? It's a much cleaner organization, and it makes it so that you don't have to explicitly specify the crate to build.
This commit is contained in:
parent
2c6587aca1
commit
dd4f0838ab
14 changed files with 75 additions and 83 deletions
29
Cargo.toml
29
Cargo.toml
|
|
@ -1,5 +1,26 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"schema",
|
||||
"cli"
|
||||
]
|
||||
|
||||
[package]
|
||||
name = "ggelo"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "ggelo"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
# GraphQL schema
|
||||
schema.path = "schema"
|
||||
|
||||
# API access
|
||||
cynic = { version = "3.2", features = ["http-reqwest-blocking"] }
|
||||
reqwest = "0.11"
|
||||
serde = "1.0"
|
||||
|
||||
# Local file manipulation
|
||||
dirs = "5.0"
|
||||
sqlite = "0.31"
|
||||
|
||||
[build-dependencies]
|
||||
cynic-codegen = "3.2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue