rust: Switch to using `include`
authorColin Walters <walters@verbum.org>
Fri, 8 Sep 2023 11:50:37 +0000 (07:50 -0400)
committerColin Walters <walters@verbum.org>
Mon, 11 Sep 2023 21:16:41 +0000 (17:16 -0400)
commit26dcd4f575ca36996904a76569344cdf59fc3598
tree2ad4521fa9c05348dd93cc37c65292ea928d843c
parentb7e39eba074bae071545fe06738b710ffeacddb8
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.
Cargo.toml