Skip to content

Commit

Permalink
Create a crate for querying the Windows Registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
panhania authored Jun 20, 2024
2 parents fa4a0fe + 77b8a82 commit d5ac39e
Show file tree
Hide file tree
Showing 6 changed files with 932 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"./crates/rrg",
"./crates/rrg-macro",
"./crates/rrg-proto",
"./crates/winreg",
]
resolver = "2"

Expand Down
15 changes: 15 additions & 0 deletions crates/winreg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "winreg"
version = "0.0.0"
authors.workspace = true
edition.workspace = true

description = "A small library for querying the Windows registry."
categories = ["windows"]

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.45.0"
features = [
"Win32_Foundation",
"Win32_System_Registry",
]
1 change: 1 addition & 0 deletions crates/winreg/LICENSE
4 changes: 4 additions & 0 deletions crates/winreg/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
winreg
======

A small library for querying the Windows registry.
5 changes: 5 additions & 0 deletions crates/winreg/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#[cfg(target_os = "windows")]
mod windows;

#[cfg(target_os = "windows")]
pub use windows::*;
Loading

0 comments on commit d5ac39e

Please sign in to comment.