Skip to content

Commit ea27320

Browse files
committed
0.4 - update dependencies
1 parent bbabec1 commit ea27320

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "inline-vbs"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Tom Niget <niget.tom@gmail.com>"]
5-
description = "Embed VBScript code inside Rust"
5+
description = "Embed VBScript (and JScript, Ruby, Perl, ...) code inside Rust"
66
homepage = "https://github.com/zdimension/inline-vbs"
77
repository = "https://github.com/zdimension/inline-vbs"
88
documentation = "https://docs.rs/inline-vbs"
@@ -15,12 +15,12 @@ exclude = [
1515
]
1616

1717
[dependencies]
18-
inline-vbs-macros = { version = "0.3", path = "./macros" }
19-
variant-rs = { version = "0.2.1" }
20-
windows = { version = "0.43.0", features = ["Win32_System_Com", "Win32_System_Ole", "Win32_Foundation"] }
21-
cxx = "1.0.85"
18+
inline-vbs-macros = { version = "0.4", path = "./macros" }
19+
variant-rs = { version = "0.3.1" }
20+
windows = { version = "0.48.0", features = ["Win32_System_Com", "Win32_System_Ole", "Win32_Foundation"] }
21+
cxx = "1.0.94"
2222
widestring = "1.0.2"
23-
enumn = "0.1.6"
23+
enumn = "0.1.8"
2424
dep_doc = "0.1.1"
2525

2626
[build-dependencies]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Macros:
2727
Add this to your `Cargo.toml`:
2828
```toml
2929
[dependencies]
30-
inline-vbs = "0.3.0"
30+
inline-vbs = "0.4.0"
3131
```
3232

3333
**Important:** You need to have the MSVC Build Tools installed on your computer, as required by [cc](https://github.com/rust-lang/cc-rs).

macros/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "inline-vbs-macros"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Tom Niget <niget.tom@gmail.com>"]
55
description = "Macros for the `inline-vbs` crate"
66
homepage = "https://github.com/zdimension/inline-vbs"
@@ -15,7 +15,7 @@ keywords = ["inline", "rust", "vbscript", "wsh", "activescript"]
1515
proc-macro = true
1616

1717
[dependencies]
18-
litrs = "0.2.3"
19-
paste = "1.0.11"
18+
litrs = "0.4.0"
19+
paste = "1.0.12"
2020
proc-macro2 = "1.0"
21-
quote = "1.0.15"
21+
quote = "1.0.26"

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ impl Runner for Variant {
5757
fn run_code(code: &str, lang: ScriptLang) -> Self {
5858
unsafe {
5959
or_die(ffi::init());
60-
let mut variant: VARIANT = std::mem::zeroed();
61-
VariantInit(&mut variant);
60+
let mut variant = VariantInit();
6261
let result = ffi::parse_wrapper(
6362
code.trim(),
6463
(&mut variant) as *mut VARIANT as *mut c_char,

0 commit comments

Comments
 (0)