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