windows-env 0.3.0

Easily manage Windows environment variables permanently.
# 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"
rust-version = "1.82"
name = "windows-env"
version = "0.3.0"
build = false
include = [
    "/CHANGELOG.md",
    "/LICENSE-*",
    "/README.md",
    "/benches/**",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easily manage Windows environment variables permanently."
homepage = "https://github.com/lxl66566/windows-env"
readme = "README.md"
keywords = [
    "env",
    "environment",
    "registry",
    "windows",
]
categories = ["os"]
license = "MIT"
repository = "https://github.com/lxl66566/windows-env"

[features]
bin = ["palc"]
default = []

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

[[bin]]
name = "wenv"
path = "src/main.rs"
required-features = ["bin"]

[dependencies.palc]
version = "0.0.2"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.windows]
version = "0.62.1"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_System_Environment",
    "Win32_System_Threading",
    "Win32_UI_WindowsAndMessaging",
]

[dependencies.winreg]
version = "0.56.0"

[lints.clippy]
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "allow"
unused_qualifications = "warn"

[profile.release]
opt-level = "s"
lto = true
panic = "abort"
strip = true