forked from unicode-org/icu4x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (56 loc) · 1.61 KB
/
Cargo.toml
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
# This file is part of ICU4X. For terms of use, please see the file
# called LICENSE at the top level of the ICU4X source tree
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
[workspace]
resolver = "2"
members = [
"components/calendar",
"components/datetime",
"components/decimal",
"components/icu",
"components/icu4x",
"components/locale_canonicalizer",
"components/locid",
"components/locid/macros",
"components/plurals",
"components/uniset",
"experimental/bies",
"experimental/formatted_string_builder",
"experimental/list_formatter",
"experimental/segmenter",
"experimental/segmenter_lstm",
"ffi/diplomat",
"ffi/ecma402",
"provider/blob",
"provider/cldr",
"provider/core",
"provider/fs",
"provider/macros",
"provider/testdata",
"provider/uprops",
"tools/benchmark/macros",
"tools/benchmark/memory",
"tools/benchmark/binsize",
"tools/datagen",
"utils/codepointtrie",
"utils/fixed_decimal",
"utils/litemap",
"utils/pattern",
"utils/writeable",
"utils/yoke",
"utils/yoke/derive",
"utils/zerovec",
]
# Enable lto for WASM.
# 2020-10-30: This currently doesn't work in .cargo/config:
# error: options `-C embed-bitcode=no` and `-C lto` are incompatible
[profile.release]
lto = true
# Enable debug information specifically for memory profiling.
# https://docs.rs/dhat/0.2.1/dhat/#configuration
#
# 2021-01-08: This would be nicer as a named profile, e.g. [profile.memory]
# https://github.com/rust-lang/cargo/issues/6988
[profile.bench]
debug = true
debug-assertions = false