-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
41 lines (36 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "compile_with_bazel"
version = "0.0.0"
# Mandatory (or Cargo tooling is unhappy)
[lib]
path = "fake_lib.rs"
[workspace]
members = [
"third_party/autocxx",
"third_party/autocxx/engine",
"third_party/autocxx/parser",
"third_party/autocxx/gen/cmd",
"third_party/autocxx/macro",
"third_party/autocxx/integration-tests",
"third_party/flatbuffers/rust/flatbuffers",
]
[dependencies]
clap = { version = "4.4", features = ["derive", "string"] }
cxx = "1.0"
cxxbridge-macro = "1.0"
uuid = "1.0"
toml = "0.5"
anyhow = "1.0"
futures = "0.3"
once_cell = "1.13"
thiserror = "1.0"
bitflags = "1.3"
smallvec = "1.9"
# For bindgen.
bindgen = "0.58.1"
libloading = "=0.6.3"
# Bazel toolchains take care of linking the C++ standard library, so don't add
# an extra flag via Rust by enabling the `nothing` feature. I'm not even sure
# it would end up on the link command line, but this crate's build.rs attempts
# to find a C++ compiler itself otherwise which definitely doesn't work.
link-cplusplus = { version = "1.0", features = ["nothing"] }