use codegen, instead of build.rs, to build header file

This commit is contained in:
Dustin J. Mitchell
2022-02-16 00:28:07 +00:00
parent 02055b122e
commit b1d537ac87
8 changed files with 76 additions and 35 deletions

View File

@@ -2,7 +2,6 @@
name = "taskchampion-lib"
version = "0.1.0"
edition = "2018"
build = "build.rs"
[lib]
name = "taskchampion"
@@ -17,6 +16,3 @@ anyhow = "1.0"
[dev-dependencies]
pretty_assertions = "1"
[build-dependencies]
cbindgen = "0.20.0"