[package]
edition = "2024"
rust-version = "1.98.1"
name = "wslcsdk"
version = "0.3.0"
authors = ["wangle"]
build = false
include = [
"src/**/*",
"examples/**/*",
"Cargo.toml",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idiomatic, safe, and asynchronous Rust SDK for Microsoft WSL Containers (WSLC)"
homepage = "https://github.com/mangerle/wslcsdk-rs"
documentation = "https://docs.rs/wslcsdk"
readme = "README.md"
keywords = [
"wsl",
"wslc",
"wslcsdk",
"container",
"virtualization",
]
categories = [
"virtualization",
"os::windows-apis",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/mangerle/wslcsdk-rs"
resolver = "2"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "wslcsdk"
path = "src/lib.rs"
[[example]]
name = "async_session"
path = "examples/async_session.rs"
[[example]]
name = "session_container"
path = "examples/session_container.rs"
[[example]]
name = "streaming_process"
path = "examples/streaming_process.rs"
[dependencies.dashmap]
version = "6.2"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"sync",
"rt",
"time",
]
[dependencies.wslcsdk-sys]
version = "=3.0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]
[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_System_Com",
"Win32_System_Threading",
"Win32_Security",
"Win32_System_LibraryLoader",
"Win32_Networking_WinSock",
]
[lints.rust]
unused_qualifications = "warn"