Skip to content

Commit

Permalink
CI/Rust: update and fix cbindgen config (#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Apr 19, 2021
1 parent d45baba commit eb2b210
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ jobs:
- uses: actions-rs/install@v0.1
with:
crate: cbindgen
version: 0.14.2
version: 0.19.0
use-tool-cache: true

- run: make include/sourmash.h
Expand Down
4 changes: 4 additions & 0 deletions src/core/cbindgen.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
header = "/* c bindings to the sourmash library */"
include_guard = "SOURMASH_H_INCLUDED"
language = "C"
style = "type"

[parse]
clean = true
Expand All @@ -13,3 +14,6 @@ rename_variants = "QualifiedScreamingSnakeCase"

[export]
exclude = ["HLL", "NoHashHasher", "HashIntersection"]

[fn]
sort_by = "Name"

0 comments on commit eb2b210

Please sign in to comment.