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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file defines all third-party Rust dependencies approved for use
# in Chromium.
#
# Crates which do not satisfy the rule-of-2 or which are testonly must be
# marked as such in gnrt_config.toml.
[package]
name = "chromium"
version = "0.1.0"
edition = "2021"
[workspace]
[dependencies]
anyhow = "1.0.98"
base64 = "0.22"
bitflags = "2"
bytes = "1"
cxx = "1"
fend-core = "1"
font-types = "0.9"
hex = "0.4"
lazy_static = "1"
libc = "0.2"
png = "=0.18.0-rc"
proc-macro2 = "1"
prost = "0.13.3"
qr_code = "2"
quote = "1"
read-fonts = "0.30.1"
rustc-demangle-capi = "0.1"
serde = "1.0.219"
skrifa = "0.32"
small_ctor = "0.1"
static_assertions = "1"
[dependencies.bytemuck]
version = "1"
features = ["nightly_portable_simd"] # For std::simd coverage.
[dependencies.crc32fast]
version = "1.4.2"
features = ["nightly"] # For optimized aarch64 implementation.
# Without the `artifact` field Cargo will only build the `[lib]` target from a
# dependency. Specifying `artifact = "bin"` below allows Cargo (and `gnrt`) to
# also cover `cxxbridge-cmd` when analyzing the dependency tree. See also
# https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#artifact-dependencies
[dependencies.cxxbridge-cmd]
version = "1"
artifact = "bin"
[dependencies.icu_casemap]
version = "2.0.0"
default-features = false
features = ["compiled_data"]
[dependencies.icu_experimental]
version = "0.3.0"
default-features = false
features = ["compiled_data"]
[dependencies.icu_locale_core]
version = "2.0.0"
default-features = false
[dependencies.icu_normalizer]
version = "2.0.0"
default-features = false
features = ["compiled_data"]
[dependencies.icu_properties]
version = "2.0.0"
default-features = false
features = ["compiled_data"]
[dependencies.icu_provider]
version = "2.0.0"
default-features = false
[dependencies.llguidance]
version = "0.7.13"
default-features = false
features = ["lark"]
[dependencies.log]
version = "0.4"
# `release_max_level_info` disables debug and trace logs at compile time
# when debug asserts are off, which is when DCHECK_IS_ON() is false.
features = ["std", "release_max_level_info"]
# Temporarily inform our cargo tooling that we care about
# the new version of serde_json_lenient. We are in the midst
# of CLs that move from the older to the newer.
[dependencies.serde_json_lenient]
package = "serde_json_lenient"
version = "0.2"
features = ["unbounded_depth", "float_roundtrip"]
# Tweak required to transitive dependency to avoids some use of unsafe,
# at the cost of requiring the nightly compiler.
[dependencies.subtle]
version = "2.6.1"
features = ["core_hint_black_box"]
[dependencies.syn]
version = "2"
features = ["full"]
[dependencies.temporal_capi]
version = "0.0.9"
features = ["compiled_data"]
[dependencies.zip]
version = "4.1.0"
default-features = false
features = ["deflate-flate2"]
|