Open eclipseo opened 3 years ago
That's really strange as only the subdir toml-missing-file
is included and I don't see anything special with this one. Don't know how cargo publish
pick the files actually included, will investigate.
This can easily be check using:
$ cargo package -l
.cargo_vcs_info.json
.github/release-drafter.yml
.github/workflows/ci.yml
.github/workflows/release-drafter.yml
.gitignore
Cargo.toml
Cargo.toml.orig
LICENSE-APACHE
LICENSE-MIT
README.md
src/lib.rs
src/metadata.rs
src/test.rs
src/tests/testanotherlib.pc
src/tests/testdata.pc
src/tests/testlib-2.0.pc
src/tests/testlib-3.0.pc
src/tests/testlib.pc
src/tests/toml-missing-file/no-cargo-toml-here
Looks like we are hitting a cargo limitation. Let's wait for the input from cargo developers.
It seems the tests are failing because the tests directory in the crate does not contain all the subdirectory like in the repo:
Shouldn't all the tests subdirectories be included in the crate?