blob: 993491a1db61db619c5798461419d6e58517a5df [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]
Adam Snaider48a62f32023-10-02 15:49:23 -070021clap = { version = "4.4", features = ["derive", "string"] }
Brian Silverman0aa13732022-05-19 23:14:08 -070022cxx = "1.0"
23cxxbridge-macro = "1.0"
Brian Silverman0aa13732022-05-19 23:14:08 -070024uuid = "1.0"
25toml = "0.5"
26anyhow = "1.0"
Brian Silverman53b0cfb2022-07-23 16:38:26 -070027futures = "0.3"
28once_cell = "1.13"
29thiserror = "1.0"
30bitflags = "1.3"
31smallvec = "1.9"
Brian Silverman0aa13732022-05-19 23:14:08 -070032
33# For bindgen.
34bindgen = "0.58.1"
35libloading = "=0.6.3"
36
37# Bazel toolchains take care of linking the C++ standard library, so don't add
38# an extra flag via Rust by enabling the `nothing` feature. I'm not even sure
39# it would end up on the link command line, but this crate's build.rs attempts
40# to find a C++ compiler itself otherwise which definitely doesn't work.
41link-cplusplus = { version = "1.0", features = ["nothing"] }