12 breaking releases

0.13.0 Oct 25, 2021
0.11.0 Oct 4, 2021

#1939 in Development tools

Download history 2/week @ 2024-02-21 2/week @ 2024-02-28 17/week @ 2024-03-27 34/week @ 2024-04-03

51 downloads per month

MIT license

64KB
1.5K SLoC

lib-ruby-parser-bindings

test unsafe forbidden Crates.io MIT Licence dependency status Docs

This crate contains shared scripts to build bindings to lib-ruby-parser.

Examples

use lib_ruby_parser_bindings::{generate, Options};

let options = Options {
    pre_code: "#include \"stubs.h\"",
    fn_attributes: "__attribute__((always_inline))",
    ..Default::default()
};
let contents = generate(&options);

std::fs::write("codegen/bindings.h", contents).unwrap();

Dependencies

~6–8.5MB
~160K SLoC