@@ -39,7 +39,7 @@ rusb = { version = "0.9.4", optional = true }
3939uefi = { version = " 0.20" , features = [" alloc" ] }
4040uefi-services = " 0.17"
4141plain = " 0.2.3"
42- redox_hwio = { git = " https://github.com/FrameworkComputer/rust-hwio " , branch = " freebsd " , default-features = false }
42+ redox_hwio = { version = " 0.1.6 " , default-features = false }
4343smbios-lib = { git = " https://github.com/FrameworkComputer/smbios-lib.git" , branch = " no-std" , default-features = false }
4444guid-create-no-std = { package = " guid-create" , git = " https://github.com/FrameworkComputer/guid-create" , branch = " no_std" , default-features = false }
4545
@@ -56,14 +56,19 @@ guid-create = "0.4.1"
5656[target .'cfg(unix)' .dependencies ]
5757libc = " 0.2.155"
5858nix = { version = " 0.29.0" , features = [" ioctl" , " user" ] }
59- redox_hwio = { git = " https://github.com/FrameworkComputer/rust-hwio" , branch = " freebsd" }
6059smbios-lib = { git = " https://github.com/FrameworkComputer/smbios-lib.git" , branch = " no-std" }
6160env_logger = " 0.11"
6261clap = { version = " 4.5" , features = [" derive" , " cargo" ] }
6362clap-num = { version = " 1.2.0" }
6463clap-verbosity-flag = { version = " 2.2.1" }
6564guid-create = " 0.4.1"
6665
66+ [target .'cfg(target_os="linux")' .dependencies ]
67+ redox_hwio = " 0.1.6"
68+
69+ [target .'cfg(target_os="freebsd")' .dependencies ]
70+ redox_hwio_freebsd = { package = " redox_hwio" , git = " https://github.com/FrameworkComputer/rust-hwio" , branch = " freebsd" }
71+
6772[target .'cfg(windows)' .dependencies .windows ]
6873version = " 0.59.0"
6974features = [
0 commit comments