contextfree / winrt-rust

Use and (eventually) make Windows Runtime APIs with Rust
Apache License 2.0
142 stars 10 forks source link

Use `-` instead of `_` in feature names #31

Closed Boddlnagg closed 7 years ago

Boddlnagg commented 7 years ago

I think the features in Cargo.toml should use dashes instead of underscores to match the style of winapi (v0.3), which also uses - for the seperator in feature names mapping to the structure of header files (see https://github.com/retep998/winapi-rs/blob/dev/Cargo.toml).

This is probably also more consistent with the rest of the crates ecosystem.

I originally chose _ because it is visually more similar to . (both are "at the bottom of the line"), but that's probably not a good reason.