1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_ryu_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_ryu_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libryu",
18    host_supported: true,
19    crate_name: "ryu",
20    cargo_env_compat: true,
21    cargo_pkg_version: "1.0.16",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    apex_available: [
25        "//apex_available:platform",
26        "com.android.virt",
27    ],
28    product_available: true,
29    vendor_available: true,
30}
31
32rust_test {
33    name: "ryu_test_tests_common_test",
34    host_supported: true,
35    crate_name: "common_test",
36    cargo_env_compat: true,
37    cargo_pkg_version: "1.0.16",
38    crate_root: "tests/common_test.rs",
39    test_suites: ["general-tests"],
40    auto_gen_config: true,
41    test_options: {
42        unit_test: true,
43    },
44    edition: "2018",
45    rustlibs: [
46        "libnum_cpus",
47        "librand",
48        "librand_xorshift",
49        "libryu",
50    ],
51}
52
53rust_test {
54    name: "ryu_test_tests_d2s_intrinsics_test",
55    host_supported: true,
56    crate_name: "d2s_intrinsics_test",
57    cargo_env_compat: true,
58    cargo_pkg_version: "1.0.16",
59    crate_root: "tests/d2s_intrinsics_test.rs",
60    test_suites: ["general-tests"],
61    auto_gen_config: true,
62    test_options: {
63        unit_test: true,
64    },
65    edition: "2018",
66    rustlibs: [
67        "libnum_cpus",
68        "librand",
69        "librand_xorshift",
70        "libryu",
71    ],
72}
73
74rust_test {
75    name: "ryu_test_tests_d2s_table_test",
76    host_supported: true,
77    crate_name: "d2s_table_test",
78    cargo_env_compat: true,
79    cargo_pkg_version: "1.0.16",
80    crate_root: "tests/d2s_table_test.rs",
81    test_suites: ["general-tests"],
82    auto_gen_config: true,
83    test_options: {
84        unit_test: true,
85    },
86    edition: "2018",
87    rustlibs: [
88        "libnum_cpus",
89        "librand",
90        "librand_xorshift",
91        "libryu",
92    ],
93}
94
95rust_test {
96    name: "ryu_test_tests_d2s_test",
97    host_supported: true,
98    crate_name: "d2s_test",
99    cargo_env_compat: true,
100    cargo_pkg_version: "1.0.16",
101    crate_root: "tests/d2s_test.rs",
102    test_suites: ["general-tests"],
103    auto_gen_config: true,
104    test_options: {
105        unit_test: true,
106    },
107    edition: "2018",
108    rustlibs: [
109        "libnum_cpus",
110        "librand",
111        "librand_xorshift",
112        "libryu",
113    ],
114}
115
116rust_test {
117    name: "ryu_test_tests_f2s_test",
118    host_supported: true,
119    crate_name: "f2s_test",
120    cargo_env_compat: true,
121    cargo_pkg_version: "1.0.16",
122    crate_root: "tests/f2s_test.rs",
123    test_suites: ["general-tests"],
124    auto_gen_config: true,
125    test_options: {
126        unit_test: true,
127    },
128    edition: "2018",
129    rustlibs: [
130        "libnum_cpus",
131        "librand",
132        "librand_xorshift",
133        "libryu",
134    ],
135}
136
137rust_test {
138    name: "ryu_test_tests_s2d_test",
139    host_supported: true,
140    crate_name: "s2d_test",
141    cargo_env_compat: true,
142    cargo_pkg_version: "1.0.16",
143    crate_root: "tests/s2d_test.rs",
144    test_suites: ["general-tests"],
145    auto_gen_config: true,
146    test_options: {
147        unit_test: true,
148    },
149    edition: "2018",
150    rustlibs: [
151        "libnum_cpus",
152        "librand",
153        "librand_xorshift",
154        "libryu",
155    ],
156}
157
158rust_test {
159    name: "ryu_test_tests_s2f_test",
160    host_supported: true,
161    crate_name: "s2f_test",
162    cargo_env_compat: true,
163    cargo_pkg_version: "1.0.16",
164    crate_root: "tests/s2f_test.rs",
165    test_suites: ["general-tests"],
166    auto_gen_config: true,
167    test_options: {
168        unit_test: true,
169    },
170    edition: "2018",
171    rustlibs: [
172        "libnum_cpus",
173        "librand",
174        "librand_xorshift",
175        "libryu",
176    ],
177}
178