helgoboss / reaper-rs

Rust bindings for the REAPER C++ API
MIT License
80 stars 8 forks source link

Re-export and document `BitFlags` usage. #70

Open Levitanus opened 1 year ago

Levitanus commented 1 year ago

I found in tests.rs, that I cannot simply use BitFlags struct. I think, that I should include them as dependency in Cargo.toml, than try to construct in the test function.

I think — it is too complicated and not very clear for the end-user. Maybe consider re-export of BitFlags and writing a couple of strings in docs?

helgoboss commented 1 year ago

Yes, I think that's a good idea. At the moment one needs to include it manually making sure it's the same version.