-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (40 loc) · 1.24 KB
/
Cargo.toml
File metadata and controls
46 lines (40 loc) · 1.24 KB
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
42
43
44
45
46
[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",
]
[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"] }
# Note: these are from Flatbuffes. Since we are building it from source in a
# vendored repository, dependencies aren't getting tracked correctly. This is
# way less ugly than the alternatives.
serde = { version = "1.0", optional = true }
arrayvec = "0.7.4"