File
Blob: deps/rust/Cargo.toml
| 1 | [package] |
| 2 | name = "direct-cargo-bazel-deps" |
| 3 | version = "0.0.1" |
| 4 | edition = "2021" |
| 5 | publish = false |
| 6 | |
| 7 | # This synthetic crate exists only to drive Cargo dependency resolution for Bazel. |
| 8 | [lib] |
| 9 | path = "fake.rs" |
| 10 | |
| 11 | [dependencies] |
| 12 | # dependencies from workerd-cxx |
| 13 | cc = "1" |
| 14 | # clap also includes features needed by workerd |
| 15 | clap = { version = "4", default-features = false, features = ["derive", "error-context", "help", "std", "usage"] } |
| 16 | codespan-reporting = "0.13" |
| 17 | foldhash = "0.2" |
| 18 | proc-macro2 = { version = "1", features = ["span-locations"] } |
| 19 | quote = "1" |
| 20 | rustversion = "1" |
| 21 | scratch = "1" |
| 22 | static_assertions = "1" |
| 23 | syn = { version = "2", features = ["full"] } |
| 24 | |
| 25 | # We prefer single-digit dependencies to stay up to date as much as possible |
| 26 | # When adding packages here, please only enable features as needed to keep compile times and |
| 27 | # binary sizes bounded. |
| 28 | ada-url = "3" |
| 29 | anyhow = "1" |
| 30 | async-trait = { version = "0", default-features = false } |
| 31 | capnp = "0" |
| 32 | capnpc = "0" |
| 33 | capnp-rpc = "0" |
| 34 | clang-ast = "0" |
| 35 | encoding_rs = "0" |
| 36 | flate2 = "1" |
| 37 | futures = "0" |
| 38 | lol_html_c_api = { git = "https://github.com/cloudflare/lol-html", tag = "v2.7.2" } |
| 39 | nix = "0" |
| 40 | pico-args = "0" |
| 41 | ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "0.12.1" } |
| 42 | ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "0.12.1" } |
| 43 | # param_extractor depends on unbounded_depth feature |
| 44 | serde_json = { version = "1", features = ["unbounded_depth"] } |
| 45 | serde = { version = "1", features = ["derive"] } |
| 46 | thiserror = "2" |
| 47 | # tokio is huge, let's enable only features when we actually need them. |
| 48 | tokio = { version = "1", default-features = false, features = ["net", "rt", "rt-multi-thread", "time"] } |
| 49 | tracing = { version = "0", default-features = false, features = ["std"] } |
| 50 | swc_common = "21" |
| 51 | swc_ts_fast_strip = "49" |