Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #25

Merged
merged 2 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Start by adding `windows` and `microsoft-dia` dependencies to Cargo.toml:

```toml
[dependencies.windows]
version = "0.53.0"
version = "0.58.0"
features = [
"Win32_System_Com"
]

[dependencies.microsoft-dia]
version = "0.10.0"
version = "0.11.0"
```

Make use of any DIA SDK APIs as needed.
Expand Down
2 changes: 1 addition & 1 deletion .metadata/generate.proj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.Windows.WinmdGenerator/0.59.13-preview">
<Project Sdk="Microsoft.Windows.WinmdGenerator/0.61.15-preview">
<PropertyGroup Label="Globals">
<OutputWinmd>../.windows/winmd/Microsoft.Dia.winmd</OutputWinmd>
<WinmdVersion>255.255.255.255</WinmdVersion>
Expand Down
2 changes: 2 additions & 0 deletions .metadata/options.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ PfnPDBDebugDirV
--memberRemap
IDiaSourceFile::get_checksum::pbData=[Optional]
IDiaSymbol10::get_sourceLink::pb=[Optional]
IDiaSession::findChildren::parent=[Optional]
IDiaSession::findFile::pCompiland=[Optional]
Binary file modified .windows/winmd/Microsoft.Dia.winmd
Binary file not shown.
19 changes: 6 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "microsoft-dia"
version = "0.10.0"
version = "0.11.0"
authors = ["Microsoft"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand All @@ -10,27 +10,20 @@ readme = ".github/README.md"
exclude = [".github", ".metadata", "docs", "tests"]

[workspace]
members = [
"crates/samples/*",
]
members = ["crates/samples/*"]

[dependencies.windows]
version = "0.53"
version = "0.58"
features = [
"implement",
"Win32_Foundation",
"Win32_System_Com",
"Win32_System_Variant",
"Win32_System_LibraryLoader",
"Win32_System_Com_StructuredStorage",
"Win32_System_Ole"
"Win32_System_Ole",
]

[dependencies.windows-core]
version = "0.53"
features = [
"implement"
]
version = "0.58"

[build-dependencies.windows-bindgen]
version = "0.53"
version = "0.58"
2 changes: 1 addition & 1 deletion crates/samples/checksum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies.windows]
version = "0.53"
version = "0.58"

[dependencies.microsoft-dia]
path = "../../../"
5 changes: 2 additions & 3 deletions crates/samples/checksum/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ fn main() -> Result<()> {
.findChildren(SymTagCompiland, None, nsNone.0 as u32)?;

// Get source files
for i in 0..symbols.Count()? {
let symbol = symbols.Item(i as u32)?;
let files = session.findFile(&symbol, PCWSTR::null(), nsNone.0 as u32)?;
for _i in 0..symbols.Count()? {
let files = session.findFile(None, PCWSTR::null(), nsNone.0 as u32)?;

// Find files with a checksum and print out details
for j in 0..files.Count()? {
Expand Down
2 changes: 1 addition & 1 deletion crates/samples/functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies.windows]
version = "0.53"
version = "0.58"

[dependencies.microsoft-dia]
path = "../../../"
Loading
Loading