Debian Codegraph @

third_party/rust/icu_calendar/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.67"
15 name = "icu_calendar"
16 version = "1.5.2"
17 authors = ["The ICU4X Project Developers"]
18 include = [
19 "data/**/*",
20 "src/**/*",
21 "examples/**/*",
22 "benches/**/*",
23 "tests/**/*",
24 "Cargo.toml",
25 "LICENSE",
26 "README.md",
27 ]
28 description = "API for supporting various types of calendars"
29 homepage = "https://icu4x.unicode.org"
30 readme = "README.md"
31 categories = ["internationalization"]
32 license = "Unicode-3.0"
33 repository = "https://github.com/unicode-org/icu4x"
34
35 [package.metadata.cargo-all-features]
36 denylist = ["bench"]
37
38 [package.metadata.docs.rs]
39 all-features = true
40
41 [[example]]
42 name = "iso_date_manipulations"
43
44 [[example]]
45 name = "iso_datetime_manipulations"
46
47 [[bench]]
48 name = "date"
49 harness = false
50
51 [[bench]]
52 name = "datetime"
53 harness = false
54
55 [[bench]]
56 name = "iso"
57 harness = false
58
59 [[bench]]
60 name = "convert"
61 harness = false
62
63 [dependencies.calendrical_calculations]
64 version = "0.1.1"
65 default-features = false
66
67 [dependencies.databake]
68 version = "0.1.8"
69 features = ["derive"]
70 optional = true
71 default-features = false
72
73 [dependencies.displaydoc]
74 version = "0.2.3"
75 default-features = false
76
77 [dependencies.icu_calendar_data]
78 version = "~1.5.0"
79 optional = true
80 default-features = false
81
82 [dependencies.icu_locid]
83 version = "~1.5.0"
84 default-features = false
85
86 [dependencies.icu_locid_transform]
87 version = "~1.5.0"
88 features = ["compiled_data"]
89 optional = true
90 default-features = false
91
92 [dependencies.icu_provider]
93 version = "~1.5.0"
94 features = ["macros"]
95 default-features = false
96
97 [dependencies.serde]
98 version = "1.0.110"
99 features = [
100 "derive",
101 "alloc",
102 ]
103 optional = true
104 default-features = false
105
106 [dependencies.tinystr]
107 version = "0.7.5"
108 features = [
109 "alloc",
110 "zerovec",
111 ]
112 default-features = false
113
114 [dependencies.writeable]
115 version = "0.5.5"
116 default-features = false
117
118 [dependencies.zerovec]
119 version = "0.10.2"
120 features = ["derive"]
121 default-features = false
122
123 [dev-dependencies.serde]
124 version = "1.0.110"
125 features = [
126 "derive",
127 "alloc",
128 ]
129 default-features = false
130
131 [dev-dependencies.serde_json]
132 version = "1.0.45"
133
134 [dev-dependencies.simple_logger]
135 version = "4.0.0"
136
137 [features]
138 bench = []
139 compiled_data = [
140 "dep:icu_calendar_data",
141 "dep:icu_locid_transform",
142 ]
143 datagen = [
144 "serde",
145 "dep:databake",
146 "zerovec/databake",
147 "tinystr/databake",
148 ]
149 default = ["compiled_data"]
150 logging = ["calendrical_calculations/logging"]
151 serde = [
152 "dep:serde",
153 "zerovec/serde",
154 "tinystr/serde",
155 "icu_provider/serde",
156 ]
157 std = [
158 "icu_provider/std",
159 "icu_locid/std",
160 "calendrical_calculations/std",
161 ]
162
163 [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.criterion]
164 version = "0.5.0"