helgoboss / reaper-rs

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

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

Open Levitanus opened 2 years ago

Levitanus commented 2 years 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 2 years 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.