blob: ab559f2b81c822681014a1eb533091a845744769 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
use nix_compat_derive::NixDeserialize;
#[derive(NixDeserialize)]
pub enum Test {
#[nix(version = "..=10")]
Old,
#[nix(version = "15..=17")]
Legacy,
#[nix(version = "50..")]
NewWay,
}
fn main() {}
|