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:
Kiana Sheibani 2023-09-23 03:01:36 -04:00
parent 2c6587aca1
commit dd4f0838ab
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
14 changed files with 75 additions and 83 deletions

View file

@ -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"