wslcsdk-sys 3.0.1

Raw FFI bindings for Microsoft.WSL.Containers (WSLC) SDK 3.0.1
Documentation
  • Coverage
  • 57.65%
    147 out of 255 items documented0 out of 36 items with examples
  • Size
  • Source code size: 15.3 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.2 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • mangerle/wslcsdk-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mangerle

wslcsdk-sys

Raw FFI bindings for the official Microsoft WSL Containers (WSLC) SDK.

Built against Microsoft's official Microsoft.WSL.Containers (Version 3.0.1 GA).


Overview

This crate provides 1:1 raw C-ABI declarations for all 46 exported C functions, structures, enums, and constants defined in wslcsdk.h:

  • Dynamic Loading Support: Pre-configured with MSVC /DELAYLOAD:wslcsdk.dll and delayimp linking.
  • Cross-Architecture: Bundles precompiled import libraries (.lib) and dynamic libraries (.dll) for both x64 and arm64.
  • Full API Registry: Consult API_REGISTRY.md for the complete list of 46 mapped C functions and contracts.

Recommended Usage

For production application development, it is strongly recommended to use the safe wrapper crate wslcsdk, which provides automatic RAII cleanup, strongly typed error models, and asynchronous I/O support.

If you strictly require direct low-level FFI access:

[dependencies]

wslcsdk-sys = "3.0.1"


License

This project is licensed under the MIT License.