mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
rust: Switch to using include
This way we don't randomly pick up bits from the C library unintentionally as things change on that side. I think the support for `!` in `include` may be relatively new and that's why the original author here chose to do things via `exclude`. But using `include` with a few specific exclusions is just way better.
This commit is contained in:
parent
b7e39eba07
commit
26dcd4f575
17
Cargo.toml
17
Cargo.toml
@ -11,17 +11,12 @@ repository = "https://github.com/ostreedev/ostree"
|
|||||||
rust-version = "1.70.0"
|
rust-version = "1.70.0"
|
||||||
version = "0.19.1"
|
version = "0.19.1"
|
||||||
|
|
||||||
exclude = [
|
include = [
|
||||||
"/*.am", "/apidoc", "/autogen.sh", "/bash", "/bsdiff",
|
"/COPYING",
|
||||||
"/build-aux", "/buildutil", "/*.mk", "/ci", "/coccinelle",
|
"/rust-bindings/**",
|
||||||
"/*.ac", "/docs", "/libglnx", "/man", "/manual-tests",
|
"!/rust-bindings/conf/**",
|
||||||
"/*.yml", "/*.doap", "/src", "/tests",
|
"!/rust-bindings/gir-files/**",
|
||||||
"/.github", "/.cci.jenkinsfile", "/.dir-locals.el", "/.editorconfig",
|
"!/rust-bindings/sys/**",
|
||||||
"/.vimrc", "/.copr", "/.packit.yaml", "/GNUmakefile", "TODO",
|
|
||||||
"composefs",
|
|
||||||
"/rust-bindings/conf/**",
|
|
||||||
"/rust-bindings/gir-files/**",
|
|
||||||
"/rust-bindings/sys/**",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
|
Loading…
Reference in New Issue
Block a user