Platform-specific dependencies

How does one express a "not cfg(...)" dependency in cargo.toml?

For Windows builds I want rusqlite to use the bundled sqlite, but for all other systems (i.e. non-Windows) I want it to use the system's sqlite.

[target."cfg(not(windows))".dependencies]
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.