# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "os-ver" version = "0.2.1" authors = ["Zhou Wei "] description = "Detect version number of operating system (Windows, macOS, iOS, Linux)" homepage = "https://github.com/libark/os-ver-rs" documentation = "https://docs.rs/os-ver" readme = "README.md" keywords = [ "os", "version", ] license = "MIT OR Apache-2.0" repository = "https://github.com/libark/os-ver-rs" [[example]] name = "os_version" [dependencies.cfg-if] version = "1.0" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.objc2] version = "0.5" [target."cfg(target_os = \"ios\")".dependencies.objc2-foundation] version = "0.2" features = ["NSString"] [target."cfg(target_os = \"linux\")".dependencies.libc] version = "0.2" [target."cfg(target_os = \"macos\")".dependencies.objc2-foundation] version = "0.2" features = [ "NSProcessInfo", "NSString", ] [target."cfg(target_os = \"windows\")".dependencies.windows-version] version = "0.1"