Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Feb 21, 2025
1 parent 1c86694 commit c8c0e67
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions crates/libs/bindgen/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ The [windows-bindgen](https://crates.io/crates/windows-bindgen) crate automatica
Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows-targets]
version = "0.53"
[dependencies.windows-link]
version = "0.1"

[dev-dependencies.windows-bindgen]
version = "0.59"
[build-dependencies.windows-bindgen]
version = "0.60"
```

Generate Rust bindings in a build script as follows:
Expand Down
4 changes: 2 additions & 2 deletions crates/libs/core/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## windows-core
## Core type support for COM and Windows

Core primitives for the [windows](https://crates.io/crates/windows) crate.
The [windows-core](https://crates.io/crates/windows-core) crate provides core type support for the windows-* family of crates.

* [Getting started](https://kennykerr.ca/rust-getting-started/)
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/cppwinrt/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.cppwinrt]
version = "0.1"
version = "0.2"
```

Use `cppwinrt` function as needed:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/cppwinrt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const VERSION: &str = "2.0.240405.15";

/// Calls the C++/WinRT compiler with the given arguments.
///
/// Use `cppwinrt["-help"]` for available options.
/// Use `cppwinrt(["-help"])` for available options.
#[track_caller]
pub fn cppwinrt<I, S>(args: I) -> String
where
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/registry/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows-registry]
version = "0.3"
version = "0.5"
```

Read and write registry keys and values as needed:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/result/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows-result]
version = "0.2"
version = "0.3"
```

Use the `HRESULT`, `Error`, and specialized `Result` types as needed:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/strings/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows-strings]
version = "0.2"
version = "0.3"
```

Use the Windows string types as needed:
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/windows/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows]
version = "0.59"
version = "0.60"
features = [
"Data_Xml_Dom",
"Win32_Security",
Expand Down

0 comments on commit c8c0e67

Please sign in to comment.