smithy-rs
smithy-rs copied to clipboard
Bake prelude scope into `rustTemplate` and friends
We use *preludeScope
in rustTemplate
and friends. We write code like:
rustTemplate("#{Vec}::new()", *preludeScope)
I think that generating code in Kotlin should feel as similar as possible to directly writing Rust. It'd be nice to include the prelude scope in rustTemplate
and friends by default.