[package]
edition = "2024"
rust-version = "1.85"
name = "ntresult"
version = "0.1.0"
authors = ["Dmytro Maslo <krakenaut9@gmail.com>"]
build = false
include = [
"src/**",
"Cargo.toml",
"README.md",
"CHANGELOG.md",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight NTSTATUS-based error handling for Windows kernel-mode Rust code."
documentation = "https://docs.rs/ntresult"
readme = "README.md"
keywords = [
"ntstatus",
"windows",
"kernel",
"driver",
"error-handling",
]
categories = [
"no-std",
"os::windows-apis",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/krakenaut9/ntresult"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-pc-windows-msvc"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
alloc = []
allocator-api = []
default = []
[lib]
name = "ntresult"
path = "src/lib.rs"
[dependencies.windows-sys]
version = "0.61"
features = ["Win32_Foundation"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1