rust-bindings: Update cargo package list
When we did the merger, it turns out cargo by default is basically going to include all of stuff in the git repository root directory which is "libostree". We just want the stuff in `rust-bindings/`. I initially tried adding `include = "rust-bindings/"` but according to https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields specifying `include` means that `exclude` is ignored, which is kind of annoying. Further, doing so *also* turns off the cargo automatic rules for handling e.g. `gitignore`. So for now I went with the approach of adding everything from the C library stuff into `exclude/`.
This commit is contained in:
parent
61dd54f940
commit
d7802c27dd
14
Cargo.toml
14
Cargo.toml
|
|
@ -11,11 +11,15 @@ repository = "https://github.com/ostreedev/ostree"
|
|||
version = "0.14.0"
|
||||
|
||||
exclude = [
|
||||
"rust-bindings/conf/**",
|
||||
"rust-bindings/gir-files/**",
|
||||
"rust-bindings/sys/**",
|
||||
".gitlab-ci.yml",
|
||||
"LICENSE.LGPL*",
|
||||
"/*.am", "/apidoc", "/autogen.sh", "/bash", "/bsdiff",
|
||||
"/build-aux", "/buildutil", "/*.mk", "/ci", "/coccinelle",
|
||||
"/*.ac", "/docs", "/libglnx", "/man", "/manual-tests",
|
||||
"/*.yml", "/*.doap", "/src", "/tests",
|
||||
"/.github", "/.cci.jenkinsfile", "/.dir-locals.el", "/.editorconfig",
|
||||
"/.vimrc", "/.copr", "/.packit.yaml", "/GNUmakefile", "TODO",
|
||||
"/rust-bindings/conf/**",
|
||||
"/rust-bindings/gir-files/**",
|
||||
"/rust-bindings/sys/**",
|
||||
]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
|
|
|
|||
Loading…
Reference in New Issue