# 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 = "2018"
rust-version = "1.60"
name = "os_info"
version = "3.13.0"
authors = [
    "Jan Schulte <hello@unexpected-co.de>",
    "Stanislav Tkach <stanislav.tkach@gmail.com>",
]
build = false
include = [
    "Cargo.toml",
    "LICENSE",
    "src/**/*.rs",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Detect the operating system type and version."
homepage = "https://github.com/stanislav-tkach/os_info"
documentation = "https://docs.rs/os_info"
readme = "README.md"
keywords = [
    "os",
    "os_type",
    "os_version",
    "os_info",
]
categories = ["os"]
license = "MIT"
repository = "https://github.com/stanislav-tkach/os_info"

[features]
default = ["serde"]

[lib]
name = "os_info"
path = "src/lib.rs"

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dev-dependencies.doc-comment]
version = "0.3"

[dev-dependencies.pretty_assertions]
version = "1"

[target.'cfg(any(target_os = "aix", target_os = "dragonfly", target_os = "freebsd", target_os = "illumos", target_os = "linux", target_os = "macos", target_os = "netbsd", target_os = "openbsd", target_os = "cygwin"))'.dependencies.nix]
version = "0.30"
features = ["feature"]

[target.'cfg(target_os = "android")'.dependencies.android_system_properties]
version = "0.1"

[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
version = "0.3"
features = ["NSString"]

[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSData",
    "NSError",
    "NSEnumerator",
    "NSString",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_System_LibraryLoader",
    "Win32_System_Registry",
    "Win32_System_SystemInformation",
    "Win32_System_SystemServices",
    "Win32_System_Threading",
    "Win32_UI_WindowsAndMessaging",
]
