Library for interacting with Windows services?

#1

Hello everyone,

I’m new to the language and wanted to start with a small project and was wondering if there were any crates that allow Rust to interact with Windows services to start/stop them?

If not I have one more question: If there is not a crate that fits your use case are you guys looking to C and FFI usually?

0 Likes

#2

if there were any crates that allow Rust to interact with Windows services to start/stop them?

Obvious choice is https://crates.io/crates/winapi

If there is not a crate that fits your use case are you guys looking to C and FFI usually?

If C API is not as complex as win32 api then obvious choice is https://crates.io/crates/bindgen

0 Likes