зеркало из https://github.com/microsoft/dia-rs.git
Update dependencies (#25)
This commit is contained in:
Родитель
486ffa9aec
Коммит
62849f08ea
|
@ -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.
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -10,3 +10,5 @@ PfnPDBDebugDirV
|
|||
--memberRemap
|
||||
IDiaSourceFile::get_checksum::pbData=[Optional]
|
||||
IDiaSymbol10::get_sourceLink::pb=[Optional]
|
||||
IDiaSession::findChildren::parent=[Optional]
|
||||
IDiaSession::findFile::pCompiland=[Optional]
|
||||
|
|
Двоичные данные
.windows/winmd/Microsoft.Dia.winmd
Двоичные данные
.windows/winmd/Microsoft.Dia.winmd
Двоичный файл не отображается.
19
Cargo.toml
19
Cargo.toml
|
@ -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"
|
||||
|
@ -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"
|
||||
|
|
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||
publish = false
|
||||
|
||||
[dependencies.windows]
|
||||
version = "0.53"
|
||||
version = "0.58"
|
||||
|
||||
[dependencies.microsoft-dia]
|
||||
path = "../../../"
|
||||
|
|
|
@ -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()? {
|
||||
|
|
|
@ -5,7 +5,7 @@ edition = "2021"
|
|||
publish = false
|
||||
|
||||
[dependencies.windows]
|
||||
version = "0.53"
|
||||
version = "0.58"
|
||||
|
||||
[dependencies.microsoft-dia]
|
||||
path = "../../../"
|
||||
|
|
43621
src/bindings.rs
43621
src/bindings.rs
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче