-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
109 lines (101 loc) · 1.88 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
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
[package]
name = "locale-match"
version = "0.2.2"
authors = ["Petr Alexandrovich Sabanov <[email protected]>"]
edition = "2021"
description = "A small library for selecting the best match for user's preferred locales from available locales."
repository = "https://github.com/pasabanov/locale-match"
license = "LGPL-3.0-or-later"
keywords = ["locale", "i18n", "internationalization", "l10n", "localization"]
categories = ["internationalization", "localization"]
exclude = [
"/.forgejo/",
"/.github/",
"/.gitlab/",
"/.idea/",
"/.vscode/",
"/doc/",
"/docs/",
"/example/",
"/examples/",
"/test/",
"/tests/",
"/.editorconfig",
"/.gitignore",
"/.rustfmt.toml",
"/rustfmt.toml"
]
[dependencies]
language-tags = { version = "0.3.2", optional = true }
[features]
bcp47 = ["language-tags"]
posix = []
default = ["bcp47", "posix"]
[profile.dev]
# Compilation
codegen-units = 256
incremental = true
# Behavior
overflow-checks = true
panic = "unwind"
# Optimization
opt-level = 0
lto = false
# Symbols
debug = true
strip = "none"
[profile.fastcompile]
inherits = "dev"
# Compilation
codegen-units = 8192
incremental = true
# Behavior
overflow-checks = false
panic = "abort"
# Optimization
opt-level = 0
lto = false
# Symbols
debug = false
strip = "none"
[profile.release]
# Compilation
codegen-units = 1
incremental = false
# Behavior
overflow-checks = false
panic = "abort"
# Optimization
opt-level = 3
lto = true
# Symbols
debug = false
strip = "symbols"
[profile.relwithdebinfo]
inherits = "release"
# Compilation
codegen-units = 1
incremental = false
# Behavior
overflow-checks = false
panic = "unwind"
# Optimization
opt-level = 2
lto = true
# Symbols
debug = true
strip = "none"
[profile.minsize]
inherits = "release"
# Compilation
codegen-units = 1
incremental = false
# Behavior
overflow-checks = false
panic = "abort"
# Optimization
opt-level = "z"
lto = true
# Symbols
debug = false
strip = "symbols"