refactor: rename elm-quote crate to genco-extra
I want to add quoting rules for nginx config language. I decided it would be better to group all the language definitions in the same crate.
This commit is contained in:
parent
f8191db391
commit
c28ef728b5
3 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ home = "0.5"
|
||||||
# Required to transpile view functions to Rust
|
# Required to transpile view functions to Rust
|
||||||
genco = "0.15"
|
genco = "0.15"
|
||||||
# Required to generate fixture Elm files
|
# Required to generate fixture Elm files
|
||||||
elm-quote = { path = "../../../infra/rust-elm-quote" }
|
genco-extra = { path = "../../../infra/genco-extra" }
|
||||||
|
|
||||||
|
|
||||||
# All of these are required for deno's javascript runtime. We need to keep the
|
# All of these are required for deno's javascript runtime. We need to keep the
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
use crate::exec::astrid_pages::OutputType;
|
use crate::exec::astrid_pages::OutputType;
|
||||||
use elm_quote::Tokens;
|
use genco_extra::elm::Tokens;
|
||||||
use genco::tokens::quoted;
|
use genco::tokens::quoted;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
use elm_quote::Tokens;
|
use genco_extra::elm::Tokens;
|
||||||
|
|
||||||
pub(crate) fn generate(source_checksum: u64, entrypoint: &elmi::Global) -> (String, String) {
|
pub(crate) fn generate(source_checksum: u64, entrypoint: &elmi::Global) -> (String, String) {
|
||||||
let tokens: Tokens = genco::quote! {
|
let tokens: Tokens = genco::quote! {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue