105 lines
2.1 KiB
TOML
105 lines
2.1 KiB
TOML
# 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"
|
|
name = "winreg"
|
|
version = "0.50.0"
|
|
authors = ["Igor Shaula <gentoo90@gmail.com>"]
|
|
description = "Rust bindings to MS Windows Registry API"
|
|
documentation = "https://docs.rs/winreg"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"Windows",
|
|
"WinSDK",
|
|
"Registry",
|
|
]
|
|
categories = [
|
|
"api-bindings",
|
|
"os::windows-apis",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://github.com/gentoo90/winreg-rs"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
targets = [
|
|
"x86_64-pc-windows-msvc",
|
|
"i686-pc-windows-msvc",
|
|
]
|
|
|
|
[[example]]
|
|
name = "basic_usage"
|
|
required-features = ["chrono"]
|
|
|
|
[[example]]
|
|
name = "enum"
|
|
|
|
[[example]]
|
|
name = "load_app_key"
|
|
|
|
[[example]]
|
|
name = "transactions"
|
|
required-features = ["transactions"]
|
|
|
|
[[example]]
|
|
name = "serialization"
|
|
required-features = ["serialization-serde"]
|
|
|
|
[[example]]
|
|
name = "map_key_serialization"
|
|
required-features = ["serialization-serde"]
|
|
|
|
[[example]]
|
|
name = "installed_apps"
|
|
required-features = ["serialization-serde"]
|
|
|
|
[dependencies.cfg-if]
|
|
version = "1.0"
|
|
|
|
[dependencies.chrono]
|
|
version = "0.4.6"
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1"
|
|
optional = true
|
|
|
|
[dependencies.windows-sys]
|
|
version = "0.48.0"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_Time",
|
|
"Win32_System_Registry",
|
|
"Win32_Security",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Diagnostics_Debug",
|
|
]
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.serde_bytes]
|
|
version = "0.11"
|
|
|
|
[dev-dependencies.serde_derive]
|
|
version = "1"
|
|
|
|
[dev-dependencies.tempfile]
|
|
version = "~3.0"
|
|
|
|
[features]
|
|
serialization-serde = [
|
|
"transactions",
|
|
"serde",
|
|
]
|
|
transactions = []
|