frewsxcv / rust-dark-light

Rust crate to detect if dark mode or light mode is enabled
https://crates.io/crates/dark-light
73 stars 12 forks source link

Add a license #30

Closed Kethku closed 9 months ago

Kethku commented 9 months ago

Currently there isn't a license which prevents the usage in most projects. Maybe MIT?

CosmicHorrorDev commented 9 months ago

The license can be inferred from the Cargo.toml file as a dual licensed MIT & Apache 2.0

license = "MIT/Apache-2.0"

Having LICENSE-MIT and LICENSE-APACHE files in the repo would be nice though

frewsxcv commented 9 months ago

MIT or Apache v2