1# Copyright 2023 The Chromium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# This file defines all third-party Rust dependencies approved for use 6# in Chromium. 7# 8# Crates which do not satisfy the rule-of-2 or which are testonly must be 9# marked as such in gnrt_config.toml. 10 11[package] 12name = "chromium" 13version = "0.1.0" 14edition = "2021" 15 16[workspace] 17 18[dependencies] 19anyhow = "1" 20base64 = "0.13" 21bitflags = "2" 22bytemuck = "1" 23bytes = "1" 24cfg-if = "1" 25cxx = "1" 26fend-core = "1" 27font-types = "0.4" 28hex = "0.4" 29hex-literal = "0.4" 30lazy_static = "1" 31libc = "0.2" 32log = "0.4" 33nom = "7.1.3" 34proc-macro2 = "1" 35prost = "0.12.3" 36qr_code = "2" 37quote = "1" 38rand = "0.8" 39rand_pcg = "0.3" 40read-fonts = "0.15" 41regex = "1" 42rstest_reuse = "0.5" 43rustc-demangle-capi = "0.1" 44serde = "1" 45serde_json = "1" 46skrifa = "0.15.4" 47small_ctor = "0.1" 48static_assertions = "1" 49strum = "0.25.0" 50strum_macros = "0.25.3" 51wycheproof = "0.4" 52 53[dependencies.tinyvec] 54version = "1.6.0" 55features = ["rustc_1_55"] 56 57[dependencies.cxxbridge-cmd] 58version = "1" 59artifact = "bin" 60 61[dependencies.rstest] 62default-features = false 63version = "0.17" 64 65[dependencies.rustversion] 66version = "1" 67 68# Temporarily inform our cargo tooling that we care about 69# the new version of serde_json_lenient. We are in the midst 70# of CLs that move from the older to the newer. 71[dependencies.serde_json_lenient] 72package = "serde_json_lenient" 73version = "0.2" 74features = ["unbounded_depth", "float_roundtrip"] 75 76[dependencies.syn] 77version = "2" 78features = ["full"] 79 80[dependencies.unicode-linebreak] 81version = "0.1" 82