Add a CI test for cargo publish.
Notably, this command can catch weird state of internal features, or missing feature activation.
For instance, if an mla dependency enables a feature which is required by mla but not explicitly imported by it, cargo build and cargo tests will happily work. But cargo publish will spot the problem.
Add a CI test for
cargo publish
. Notably, this command can catch weird state of internal features, or missing feature activation.For instance, if an
mla
dependency enables a feature which is required bymla
but not explicitly imported by it,cargo build
andcargo tests
will happily work. Butcargo publish
will spot the problem.