mozilla / jsonschema-transpiler

Compile JSON Schema into Avro and BigQuery schemas
Mozilla Public License 2.0
43 stars 9 forks source link

Use pure rust libraries for regex and snakecasing #101

Closed acmiyaguchi closed 3 years ago

acmiyaguchi commented 3 years ago

This PR uses regex and heck as replacements for oniguruma. Oniguruma is used to perform the snake casing logic in a language independent way. The rules were originally sourced from heck, and are fully compatible with the casing tests.

This should reduce build times (since we no longer have to compile oniguruma from the C sources) and make it easier to compile the package to wasm.