genco icon indicating copy to clipboard operation
genco copied to clipboard

A whitespace-aware quasiquoter for beautiful code generation.

Results 8 genco issues
Sort by recently updated
recently updated
newest added

It would be awesome to add support for the c programming language. That way c could be used as a compile target for other languages or just for code generation....

enhancement

I need to create custom, error messages, so I want string literals and format-strings that looks like : format!("Error: Missing field: $(fieldname) - {} ", error.to_string()) But I can't seem...

I am creating a custom HTTP handler class from a schema specification which has about 100 routes. Because of reasons, my main dispatcher is basically a `match` from a usize...

question

I'm trying to generate the following attribute on a struct field, which contains an import-able symbol `DurationSeconds`: ``` #[serde_with] pub struct MyStruct { #[serde_as(as = "Option")] duration: Option, } ```...

question

The documentation makes clear that nightly and stable behave differently because of functionality offered in nightly that is not in stable. This is a pain if you want to deterministically...

enhancement

When attempting to put `#![allow(clippy)]` at the top of a file, it gets placed below any imports created by `register`. It'd be nice to specify, perhaps in the Rust config,...

enhancement

To use an import multiple times you have to manually clone it : ```rust let map = rust::import("std::collections", "HashMap"); let tokens: rust::Tokens = quote! { fn test() { let mut...

enhancement