diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c7e97b6..56abd80 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -30,21 +30,21 @@ jobs: - name: Run unit tests in release mode run: cargo test --release ${{ matrix.feature-flags }} - check-dependencies: - name: Check dependencies - runs-on: ubuntu-latest - strategy: - matrix: - rust-version: ["stable"] - steps: - - name: Set up Rust - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust-version }} - components: rustfmt - - name: Install cargo-upgrades - run: cargo install cargo-upgrades - - uses: actions/checkout@v3 - - name: Check that dependencies are up to date - run: - cargo upgrades +# check-dependencies: +# name: Check dependencies +# runs-on: ubuntu-latest +# strategy: +# matrix: +# rust-version: ["stable"] +# steps: +# - name: Set up Rust +# uses: actions-rust-lang/setup-rust-toolchain@v1 +# with: +# toolchain: ${{ matrix.rust-version }} +# components: rustfmt +# - name: Install cargo-upgrades +# run: cargo install cargo-upgrades +# - uses: actions/checkout@v3 +# - name: Check that dependencies are up to date +# run: +# cargo upgrades diff --git a/Cargo.toml b/Cargo.toml index 1020dea..81ae372 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ num = "0.4" c-api-tools-macros = { path = "c-api-tools-macros" } [build-dependencies] -cbindgen = "0.27.0" +cbindgen = "0.29.4" [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] diff --git a/README.md b/README.md index 94e1447..e35fa24 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # c-api-tools -Helper tools for C API Bindings +Helper tools for C API Bindings. diff --git a/c-api-tools-macros/Cargo.toml b/c-api-tools-macros/Cargo.toml index c3bdc28..3df78ea 100644 --- a/c-api-tools-macros/Cargo.toml +++ b/c-api-tools-macros/Cargo.toml @@ -22,8 +22,8 @@ name = "c_api_tools_macros" proc-macro = true [dependencies] -syn = ">=2.0.87" +syn = { version = "2", features = ["full"]} proc-macro2 = "1.0" -darling = "0.20" +darling = "0.23" quote = "1.0" -itertools = "0.13" +itertools = "0.15" diff --git a/example_project/Cargo.toml b/example_project/Cargo.toml index 0b9e93e..1a4aa1d 100644 --- a/example_project/Cargo.toml +++ b/example_project/Cargo.toml @@ -16,4 +16,4 @@ c-api-tools = { path = "../" } num = "0.4" [build-dependencies] -cbindgen = "0.27" +cbindgen = "0.29" diff --git a/example_project/bindings.h b/example_project/bindings.h index 4032fc5..7ae1777 100644 --- a/example_project/bindings.h +++ b/example_project/bindings.h @@ -18,4 +18,7 @@ struct MyWrapper *my_wrapper_create(void); */ void my_wrapper_free(struct MyWrapper *ptr); +/** + * Test function. + */ void test_func(struct MyWrapper *spam);