On 17-12-21, 11:38, Miguel Ojeda wrote: > Having optional pre-generated bindings may be good for some users, > e.g. libsqlite3-sys does it. I guess the main question is whether you > are willing to support/maintain it. Also consider cross-compilation. > > But I wouldn't only provide pre-generated ones if you are using > `bindgen` anyway. The pre-generated ones are normally good for kernel headers, where the userspace ABI is stable and so we don't need to change the generated bindings soon. But in our case here, the ABI isn't that stable and will likely change soon again for the first few months after v2.0 is released for libgpiod. Perhaps, we should make it compile-only for the time being. Once the ABI is stable enough, we can think of committing something to the source tree. > In any case, I am not a Rust expert, so please take that with a grain of salt :) :) -- viresh