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,6 +1,6 @@
fn main() {
cynic_codegen::register_schema("startgg")
.from_sdl_file("src/startgg.graphql")
.from_sdl_file("startgg.graphql")
.unwrap()
.as_default()
.unwrap();