lerouxrgd / rsgen-avro

Command line and library for generating Rust types from Avro schemas
MIT License
37 stars 29 forks source link

fix sanitize function #48

Closed untereiner closed 1 year ago

untereiner commented 1 year ago

solves #47

lerouxrgd commented 1 year ago

This fix is incorrect, see https://doc.rust-lang.org/beta/rust-by-example/compatibility/raw_identifiers.html

lerouxrgd commented 1 year ago

This is actually an underlying issue in Rust, see https://internals.rust-lang.org/t/raw-identifiers-dont-work-for-all-identifiers/9094/2

lerouxrgd commented 1 year ago

Fixed in 0.11.8

untereiner commented 1 year ago

sorry learning rust! and thanks !