Rust for Windows Bindings: Generating the Entire Windows API Surface from Metadata

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • codegenrs

    Moving code-gen out of `build.rs`

  • At least its a library for generating the bindings. You can then create a cargo xtask for it with something like codegenrs

  • windows-rs

    Rust for Windows

  • https://github.com/microsoft/windows-rs/issues/142 I think this is the big blocker for easy cross-compilation.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • winapi-rs

    Rust bindings to Windows API

  • As far as I could understand, this crate provides unsafe bindings for the Win32 API in Rust, which is the same thing that winapi does, except that everything is automatically generated from existent Win32 metadata, while winapi does everything by hand.

  • rust-dyn-call

    Do not use. Do not use. Do not use. (Calls a function dynamically)

  • You might have luck by studying https://github.com/jam1garner/rust-dyn-call for the specific use case.

  • rust-windows-dll

    Macro for dynamically loading windows dll functions

  • https://github.com/thisKai/rust-windows-dll is quite convenient.

  • winapi-kmd-rs

    Windows Kernel-Mode Drivers written in Rust

  • I know but right now the best thing we have in terms of bindings to the native windows kernel APIs is https://github.com/pravic/winapi-kmd-rs which unfortunately never received polishing. I forked it a while back to include the bindings I needed but stopped after scratching my itch. I would love comprehensive bindings for that and got my hopes up when I saw this post.

  • Cargo

    The Rust package manager

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • I seen people say that () is similar to void in C. But what is similar to void*?

    1 project | /r/rust | 27 Mar 2023
  • Kernel Headers for Windows could soon make it into windows-rs

    5 projects | /r/rust | 22 Feb 2023
  • More malware is shifting to Rust

    4 projects | /r/rust | 29 Jan 2022
  • Noob question - Can I see what my used cargo crate has inside?

    1 project | /r/rust | 4 Aug 2021
  • Building Outer Wonders, our Rust/SDL2 puzzle game, for Windows

    1 project | /r/rust | 21 Jun 2021