Skip to content

Commit 2c9d81b

Browse files
authored
Release 64 (#3603)
1 parent b1128f5 commit 2c9d81b

File tree

17 files changed

+61
-24
lines changed

17 files changed

+61
-24
lines changed

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,20 @@ serde_json = {version = "1.0", default-features = false }
3636
# generated dependencies
3737
cppwinrt = { version = "0.2.2", path = "crates/libs/cppwinrt", default-features = false }
3838
windows = { version = "0.61.1", path = "crates/libs/windows", default-features = false }
39-
windows-bindgen = { version = "0.61.0", path = "crates/libs/bindgen", default-features = false }
39+
windows-bindgen = { version = "0.61.1", path = "crates/libs/bindgen", default-features = false }
4040
windows-collections = { version = "0.2.0", path = "crates/libs/collections", default-features = false }
41-
windows-core = { version = "0.61.0", path = "crates/libs/core", default-features = false }
42-
windows-future = { version = "0.2.0", path = "crates/libs/future", default-features = false }
41+
windows-core = { version = "0.61.1", path = "crates/libs/core", default-features = false }
42+
windows-future = { version = "0.2.1", path = "crates/libs/future", default-features = false }
4343
windows-implement = { version = "0.60.0", path = "crates/libs/implement", default-features = false }
4444
windows-interface = { version = "0.59.1", path = "crates/libs/interface", default-features = false }
4545
windows-link = { version = "0.1.1", path = "crates/libs/link", default-features = false }
46-
windows-metadata = { version = "0.0.0", path = "crates/libs/metadata", default-features = false }
46+
windows-metadata = { version = "0.59.0", path = "crates/libs/metadata", default-features = false }
4747
windows-numerics = { version = "0.2.0", path = "crates/libs/numerics", default-features = false }
48-
windows-registry = { version = "0.5.1", path = "crates/libs/registry", default-features = false }
49-
windows-result = { version = "0.3.2", path = "crates/libs/result", default-features = false }
50-
windows-services = { version = "0.0.0", path = "crates/libs/services", default-features = false }
51-
windows-strings = { version = "0.4.0", path = "crates/libs/strings", default-features = false }
48+
windows-registry = { version = "0.5.2", path = "crates/libs/registry", default-features = false }
49+
windows-result = { version = "0.3.3", path = "crates/libs/result", default-features = false }
50+
windows-services = { version = "0.24.0", path = "crates/libs/services", default-features = false }
51+
windows-strings = { version = "0.4.1", path = "crates/libs/strings", default-features = false }
5252
windows-sys = { version = "0.59.0", path = "crates/libs/sys", default-features = false }
5353
windows-targets = { version = "0.53.0", path = "crates/libs/targets", default-features = false }
54-
windows-threading = { version = "0.0.0", path = "crates/libs/threading", default-features = false }
54+
windows-threading = { version = "0.1.0", path = "crates/libs/threading", default-features = false }
5555
windows-version = { version = "0.1.4", path = "crates/libs/version", default-features = false }

crates/libs/bindgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-bindgen"
3-
version = "0.61.0"
3+
version = "0.61.1"
44
edition = "2021"
55
rust-version = "1.74"
66
license = "MIT OR Apache-2.0"

crates/libs/core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-core"
3-
version = "0.61.0"
3+
version = "0.61.1"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"

crates/libs/future/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-future"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
rust-version = "1.74"
66
license = "MIT OR Apache-2.0"

crates/libs/metadata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-metadata"
3-
version = "0.0.0"
3+
version = "0.59.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.82"

crates/libs/metadata/readme.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
11
## Low-level metadata library for ECMA-335
2+
3+
The [windows-metadata](https://crates.io/crates/windows-metadata) crate provides a reader and writer
4+
for the ECMA-335 metadata format used by .NET, WinRT, and more recently the Win32 metadata.
5+
6+
* [Getting started](https://kennykerr.ca/rust-getting-started/)
7+
* [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples)
8+
* [Releases](https://github.com/microsoft/windows-rs/releases)
9+
10+
Start by adding the following to your Cargo.toml file:
11+
12+
```toml
13+
[dependencies.windows-metadata]
14+
version = "0.59"
15+
```
16+
17+
Use the Windows metadata support as needed. Here is how you might use the reader to query type information:
18+
19+
```rust,no_run
20+
use windows_metadata::*;
21+
22+
let index = reader::Index::read("Windows.winmd").unwrap();
23+
24+
let def = index.expect("Windows.Foundation", "Point");
25+
assert_eq!(def.namespace(), "Windows.Foundation");
26+
assert_eq!(def.name(), "Point");
27+
28+
let extends = def.extends().unwrap();
29+
assert_eq!(extends.namespace(), "System");
30+
assert_eq!(extends.name(), "ValueType");
31+
32+
let fields: Vec<_> = def.fields().collect();
33+
assert_eq!(fields.len(), 2);
34+
assert_eq!(fields[0].name(), "X");
35+
assert_eq!(fields[1].name(), "Y");
36+
assert_eq!(fields[0].ty(), Type::F32);
37+
assert_eq!(fields[1].ty(), Type::F32);
38+
```

crates/libs/registry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-registry"
3-
version = "0.5.1"
3+
version = "0.5.2"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"

crates/libs/result/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-result"
3-
version = "0.3.2"
3+
version = "0.3.3"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.74"

crates/libs/services/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "windows-services"
3-
version = "0.0.0"
3+
version = "0.24.0"
44
authors = ["Microsoft"]
55
edition = "2021"
66
rust-version = "1.75"

crates/libs/services/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Start by adding the following to your Cargo.toml file:
1010

1111
```toml
1212
[dependencies.windows-services]
13-
version = "0.0"
13+
version = "0.24"
1414
```
1515

1616
Use the Windows services support as needed. Here is how you might write a simple Windows services process:

0 commit comments

Comments
 (0)