add cargo workspace
This commit is contained in:
parent
87612df7b6
commit
969cb97a18
5 changed files with 323 additions and 1 deletions
19
Cargo.toml
Normal file
19
Cargo.toml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[workspace]
|
||||
resolver = "3"
|
||||
members = [
|
||||
# "nixide",
|
||||
"nixide-sys"
|
||||
]
|
||||
|
||||
[workspace.dependencies]
|
||||
cc = "1.2.56"
|
||||
pkg-config = "0.3.32"
|
||||
|
||||
# Building bindgen with optimizations makes the build script run faster, more
|
||||
# than it is offset by the additional build time added to the crate itself by
|
||||
# enabling optimizations. Since we work with bindgen, might as well.
|
||||
# P.S.: it ranges from 3x to 5x faster depending on my system, and it'll only
|
||||
# get better as the C API expands in size. So all things considered this is a
|
||||
# good thing :)
|
||||
[profile.dev.package.bindgen]
|
||||
opt-level = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue