Skip to content

Update spidev dependencies #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 17, 2019
Merged

Update spidev dependencies #23

merged 1 commit into from
Sep 17, 2019

Conversation

iicurtis
Copy link
Contributor

Currently dependencies have to be compiled multiple times due to version mismatches. Upgrading to spidev=0.4 fixes that problem.

Before:

├── linux-embedded-hal v0.2.2
│   ├── cast v0.2.2
│   ├── embedded-hal v0.2.3 (*)
│   ├── i2cdev v0.4.2
│   │   ├── bitflags v1.1.0
│   │   ├── byteorder v1.3.2
│   │   ├── libc v0.2.62
│   │   └── nix v0.14.1
│   │       ├── bitflags v1.1.0 (*)
│   │       ├── cfg-if v0.1.9
│   │       ├── libc v0.2.62 (*)
│   │       └── void v1.0.2 (*)
│   ├── spidev v0.3.0
│   │   ├── bitflags v0.3.3
│   │   ├── libc v0.2.62 (*)
│   │   └── nix v0.6.0
│   │       ├── bitflags v0.4.0
│   │       ├── cfg-if v0.1.9 (*)
│   │       ├── libc v0.2.62 (*)
│   │       └── void v1.0.2 (*)
│   │       [build-dependencies]
│   │       ├── rustc_version v0.1.7
│   │       │   └── semver v0.1.20
│   │       └── semver v0.1.20 (*)
│   └── sysfs_gpio v0.5.4
│       └── nix v0.14.1 (*)

After:

├── linux-embedded-hal v0.2.2
│   ├── cast v0.2.2
│   ├── embedded-hal v0.2.3 (*)
│   ├── i2cdev v0.4.2
│   │   ├── bitflags v1.1.0
│   │   ├── byteorder v1.3.2
│   │   ├── libc v0.2.62
│   │   └── nix v0.14.1
│   │       ├── bitflags v1.1.0 (*)
│   │       ├── cfg-if v0.1.9
│   │       ├── libc v0.2.62 (*)
│   │       └── void v1.0.2 (*)
│   ├── nb v0.1.2 (*)
│   ├── serial-core v0.4.0
│   │   └── libc v0.2.62 (*)
│   ├── serial-unix v0.4.0
│   │   ├── ioctl-rs v0.1.6
│   │   │   └── libc v0.2.62 (*)
│   │   ├── libc v0.2.62 (*)
│   │   ├── serial-core v0.4.0 (*)
│   │   └── termios v0.2.2
│   │       └── libc v0.2.62 (*)
│   ├── spidev v0.4.0
│   │   ├── bitflags v1.1.0 (*)
│   │   ├── libc v0.2.62 (*)
│   │   └── nix v0.14.1 (*)
│   └── sysfs_gpio v0.5.4
│       └── nix v0.14.1 (*)

@iicurtis iicurtis requested a review from a team as a code owner September 17, 2019 02:45
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ryankurte (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added S-waiting-on-review Status: Review is incomplete T-embedded-linux labels Sep 17, 2019
@posborne
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Sep 17, 2019
23: Update spidev dependencies r=posborne a=iicurtis

Currently dependencies have to be compiled multiple times due to version mismatches. Upgrading to `spidev=0.4` fixes that problem.

Before:
```
├── linux-embedded-hal v0.2.2
│   ├── cast v0.2.2
│   ├── embedded-hal v0.2.3 (*)
│   ├── i2cdev v0.4.2
│   │   ├── bitflags v1.1.0
│   │   ├── byteorder v1.3.2
│   │   ├── libc v0.2.62
│   │   └── nix v0.14.1
│   │       ├── bitflags v1.1.0 (*)
│   │       ├── cfg-if v0.1.9
│   │       ├── libc v0.2.62 (*)
│   │       └── void v1.0.2 (*)
│   ├── spidev v0.3.0
│   │   ├── bitflags v0.3.3
│   │   ├── libc v0.2.62 (*)
│   │   └── nix v0.6.0
│   │       ├── bitflags v0.4.0
│   │       ├── cfg-if v0.1.9 (*)
│   │       ├── libc v0.2.62 (*)
│   │       └── void v1.0.2 (*)
│   │       [build-dependencies]
│   │       ├── rustc_version v0.1.7
│   │       │   └── semver v0.1.20
│   │       └── semver v0.1.20 (*)
│   └── sysfs_gpio v0.5.4
│       └── nix v0.14.1 (*)
```

After:
```
├── linux-embedded-hal v0.2.2
│   ├── cast v0.2.2
│   ├── embedded-hal v0.2.3 (*)
│   ├── i2cdev v0.4.2
│   │   ├── bitflags v1.1.0
│   │   ├── byteorder v1.3.2
│   │   ├── libc v0.2.62
│   │   └── nix v0.14.1
│   │       ├── bitflags v1.1.0 (*)
│   │       ├── cfg-if v0.1.9
│   │       ├── libc v0.2.62 (*)
│   │       └── void v1.0.2 (*)
│   ├── nb v0.1.2 (*)
│   ├── serial-core v0.4.0
│   │   └── libc v0.2.62 (*)
│   ├── serial-unix v0.4.0
│   │   ├── ioctl-rs v0.1.6
│   │   │   └── libc v0.2.62 (*)
│   │   ├── libc v0.2.62 (*)
│   │   ├── serial-core v0.4.0 (*)
│   │   └── termios v0.2.2
│   │       └── libc v0.2.62 (*)
│   ├── spidev v0.4.0
│   │   ├── bitflags v1.1.0 (*)
│   │   ├── libc v0.2.62 (*)
│   │   └── nix v0.14.1 (*)
│   └── sysfs_gpio v0.5.4
│       └── nix v0.14.1 (*)
```

Co-authored-by: Isaac Curtis <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 17, 2019

Build succeeded

@bors bors bot merged commit 010893b into rust-embedded:master Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Review is incomplete T-embedded-linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants