maint: Add version bound to new additions

This commit is contained in:
Robert Hensing 2025-10-21 23:18:33 +02:00
parent 03c0dac5b3
commit 01443c7f69
3 changed files with 37 additions and 2 deletions

View file

@ -1,7 +1,11 @@
#![cfg(nix_at_least = "2.33")]
use nix_bindings_bindgen_raw as raw;
use std::ptr::NonNull;
/// A Nix derivation
///
/// **Requires Nix 2.33 or later.**
pub struct Derivation {
pub(crate) inner: NonNull<raw::derivation>,
}