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

11
Cargo.lock generated
View File

@@ -3035,12 +3035,9 @@ name = "taskchampion-lib"
version = "0.1.0"
dependencies = [
"anyhow",
"cbindgen",
"chrono",
"libc",
"pretty_assertions",
"taskchampion",
"uuid",
]
[[package]]
@@ -3797,6 +3794,14 @@ dependencies = [
"time 0.1.43",
]
[[package]]
name = "xtask"
version = "0.1.0"
dependencies = [
"anyhow",
"cbindgen",
]
[[package]]
name = "zeroize"
version = "1.3.0"