diwic / dbus-rs

D-Bus binding for the Rust language
Other
585 stars 131 forks source link

Exclude some subdirectories from the package crate #446

Closed mulkieran closed 1 year ago

mulkieran commented 1 year ago

Tested by:

  1. Running cargo package --all-features.
  2. Verifying directories excluded not in target/package/<packagename>
  3. cd ../target/package/<packagename>.
  4. Run cargo build --features=vendored.
  5. echo $? yields 0.

Also run cargo test with excellent results.

mulkieran commented 1 year ago

@diwic I think this ought to be an extremely safe change. It excludes only files that are part of the dbus source tree pulled in by the git submodule. And exclude won't fail if directories that are excluded have stopped existing so it should work pretty nicely even if the dbus source tree changes.

diwic commented 1 year ago

Thanks!