gdesmott / system-deps

Run pkg-config from declarative dependencies in Cargo.toml
Apache License 2.0
89 stars 21 forks source link

Inaccurate docs about toml #71

Open matklad opened 1 year ago

matklad commented 1 year ago

https://docs.rs/system-deps/latest/system_deps/#overriding-library-name

toml keys cannot contain dot characters

I don't think this is true, the following should work (and, adguably, should be recommended?)

[package.metadata.system-deps]
"glib-2.0" = "2.64"

https://toml.io/en/v1.0.0#keys

gdesmott commented 1 year ago

Indeed, I guess that should work.

I'd prefer to have a test using this before changing the doc. PR welcomes. :)