Skip to content

Conversation

@posborne
Copy link
Member

Several dependencies had quite out of date and there are some nice
stabilizations and features (for nix ioctl) upstream. Nothing here
should change the external API

Several dependencies had quite out of date and there are some nice stabilizations and features (for nix ioctl) upstream. Nothing here should change the external API. Signed-off-by: Paul Osborne <osbpau@gmail.com>
We only want to export the safe wrappers around these. Solve this by putting the generated pub functions inside an unexported module. Signed-off-by: Paul Osborne <osbpau@gmail.com>
Signed-off-by: Paul Osborne <osbpau@gmail.com>
/// This is the structure as used in the I2C_SMBUS ioctl call
#[repr(C)]
struct i2c_smbus_ioctl_data {
pub struct i2c_smbus_ioctl_data {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you - this could potentially go in the mod ioctl below

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started to play around with this and it ended up requiring a bunch more changes. I think I'm OK with this leaking since ffi isn't pub itself and is just used internally.

@posborne posborne merged commit 666e769 into master Jan 29, 2018
@posborne posborne deleted the update-deps-and-prepare-release branch January 29, 2018 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants