This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Releases: whamcloud/rust-libzfs
Releases · whamcloud/rust-libzfs
v0.6.15libzfs: Use zpool_search_import instead of zpool_find_import (#85)
* Use zpool_search_import instead of zpool_find_import Fixes #84. Signed-off-by: Joe Grund <[email protected]> * initalize importargs Signed-off-by: Joe Grund <[email protected]> * update bitfield args Signed-off-by: Joe Grund <[email protected]>
v0.5.11libzfs-sys: Use zpool_search_import instead of zpool_find_import (#85)
* Use zpool_search_import instead of zpool_find_import Fixes #84. Signed-off-by: Joe Grund <[email protected]> * initalize importargs Signed-off-by: Joe Grund <[email protected]> * update bitfield args Signed-off-by: Joe Grund <[email protected]>
v0.1.20-1-r5.0: Bump zfs (#81)
* Bump deps to latest Signed-off-by: Joe Grund <[email protected]> * Update libzfs-sys to 0.7.13 Update bindings to 0.7.13. Signed-off-by: Joe Grund <[email protected]> * remove module-tools Signed-off-by: Joe Grund <[email protected]> * update to use docker builder + some cleanup Signed-off-by: Joe Grund <[email protected]> * add global neon install Signed-off-by: Joe Grund <[email protected]> * use tabs Signed-off-by: Joe Grund <[email protected]> * force newer box version Signed-off-by: Joe Grund <[email protected]> * move modprobe Signed-off-by: Joe Grund <[email protected]> * exit if command fails Signed-off-by: Joe Grund <[email protected]> * add cleanup fn Signed-off-by: Joe Grund <[email protected]> * use ZFS kmod Signed-off-by: Joe Grund <[email protected]> * fixup trap fn Signed-off-by: Joe Grund <[email protected]> * bump libzfs-sys dep Signed-off-by: Joe Grund <[email protected]> * bump libzfs version Signed-off-by: Joe Grund <[email protected]> * add 5.0 deploy Signed-off-by: Joe Grund <[email protected]> * remove extra job Signed-off-by: Joe Grund <[email protected]> * fix release field Signed-off-by: Joe Grund <[email protected]> * address CR feedback Signed-off-by: Joe Grund <[email protected]>
v0.6.13libzfs: bump version
Signed-off-by: Joe Grund <[email protected]>
v0.6.12libzfs: package bumps
Signed-off-by: Joe Grund <[email protected]>
v0.5.9libzfs-sys: bump version
Signed-off-by: Joe Grund <[email protected]>
v0.5.8libzfs-sys: revert not building on mac
Signed-off-by: Joe Grund <[email protected]>
v0.1.1libzfs-types: package bumps
Signed-off-by: Joe Grund <[email protected]>
v0.1.0libzfs-types: Add libzfs types (#77)
* Move shared types into their own crate. Currently, taking a dep on libzfs means your crate gets linked against libzfs.so.2 libzpool.so.2 and libnvpair.so.2. Take device-aggregator for instance, which only takes a dep on libzfs to get shared types: ```shell $ ldd /usr/bin/device-aggregator linux-vdso.so.1 => (0x00007ffdba5b8000) libzfs.so.2 => not found libzpool.so.2 => not found libnvpair.so.1 => not found libdl.so.2 => /lib64/libdl.so.2 (0x00007f49332af000) librt.so.1 => /lib64/librt.so.1 (0x00007f49330a7000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4932e8b000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4932c75000) libc.so.6 => /lib64/libc.so.6 (0x00007f49328a8000) /lib64/ld-linux-x86-64.so.2 (0x00007f4933905000) libm.so.6 => /lib64/libm.so.6 (0x00007f49325a6000) ``` We don't need libzfs to be linked in crates that only need type access. Instead, extract types to their own standalone crate that doesn't have a dep on libzfs-sys. This way we can get type access without linking to unneeded shared objects. Signed-off-by: Joe Grund <[email protected]> * Move shared types into their own crate. Currently, taking a dep on libzfs means your crate gets linked against libzfs.so.2 libzpool.so.2 and libnvpair.so.2. Take device-aggregator for instance, which only takes a dep on libzfs to get shared types: ```shell $ ldd /usr/bin/device-aggregator linux-vdso.so.1 => (0x00007ffdba5b8000) libzfs.so.2 => not found libzpool.so.2 => not found libnvpair.so.1 => not found libdl.so.2 => /lib64/libdl.so.2 (0x00007f49332af000) librt.so.1 => /lib64/librt.so.1 (0x00007f49330a7000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4932e8b000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f4932c75000) libc.so.6 => /lib64/libc.so.6 (0x00007f49328a8000) /lib64/ld-linux-x86-64.so.2 (0x00007f4933905000) libm.so.6 => /lib64/libm.so.6 (0x00007f49325a6000) ``` We don't need libzfs to be linked in crates that only need type access. Instead, extract types to their own standalone crate that doesn't have a dep on libzfs-sys. This way we can get type access without linking to unneeded shared objects. Signed-off-by: Joe Grund <[email protected]>
v0.6.11libzfs: Expose the libzfs error type (#75)
Expose the libzfs error, so we can use it in other crates. Signed-off-by: Joe Grund <[email protected]>