Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.

Commit 42dfb41

Browse files
committed
Fixed dependencies at syn version 2
1 parent f1f4493 commit 42dfb41

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ num = "0.4"
2828
c-api-tools-macros = { path = "c-api-tools-macros" }
2929

3030
[build-dependencies]
31-
cbindgen = "0.27.0"
31+
cbindgen = "0.29.4"
3232

3333
[package.metadata.docs.rs]
3434
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

‎c-api-tools-macros/Cargo.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ name = "c_api_tools_macros"
2222
proc-macro = true
2323

2424
[dependencies]
25-
syn = ">=2.0.87"
25+
syn = { version = "2", features = ["full"]}
2626
proc-macro2 = "1.0"
27-
darling = "0.20"
27+
darling = "0.23"
2828
quote = "1.0"
29-
itertools = "0.13"
29+
itertools = "0.15"

‎example_project/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ c-api-tools = { path = "../" }
1616
num = "0.4"
1717

1818
[build-dependencies]
19-
cbindgen = "0.27"
19+
cbindgen = "0.29"

‎example_project/bindings.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ struct MyWrapper *my_wrapper_create(void);
1818
*/
1919
void my_wrapper_free(struct MyWrapper *ptr);
2020

21+
/**
22+
* Test function.
23+
*/
2124
void test_func(struct MyWrapper *spam);

0 commit comments

Comments
 (0)