[package]
edition = "2021"
rust-version = "1.75"
name = "windows-spawn"
version = "0.1.0"
authors = ["Yasunobu Sakashita"]
build = false
include = [
"/src/**",
"/tests/**",
"/examples/**",
"/docs/adr/**",
"/docs/crate.md",
"/README.md",
"/CHANGELOG.md",
"/REUSE.toml",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/LICENSES/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Windows process creation with explicit handle, Job, mitigation, ConPTY, and child ownership"
documentation = "https://docs.rs/windows-spawn"
readme = "README.md"
keywords = [
"windows",
"process",
"createprocess",
"job-object",
"spawn",
]
categories = [
"os::windows-apis",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/P4suta/windows-spawn"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
]
[lib]
name = "windows_spawn"
path = "src/lib.rs"
[[example]]
name = "handle_handoff"
path = "examples/handle_handoff.rs"
[[example]]
name = "managed_output"
path = "examples/managed_output.rs"
[[example]]
name = "suspended_inspection"
path = "examples/suspended_inspection.rs"
[[test]]
name = "argv_roundtrip"
path = "tests/argv_roundtrip.rs"
harness = false
[[test]]
name = "windows_spawn"
path = "tests/windows_spawn.rs"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Globalization",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Console",
"Win32_System_Environment",
"Win32_System_IO",
"Win32_System_JobObjects",
"Win32_System_Pipes",
"Win32_System_SystemInformation",
"Win32_System_Threading",
]
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1