Debian Codegraph @

debian/rust-vendor/calendrical_calculations/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.82"
15 name = "calendrical_calculations"
16 version = "0.2.4"
17 authors = ["The ICU4X Project Developers"]
18 build = false
19 include = [
20 "data/**/*",
21 "src/**/*",
22 "examples/**/*",
23 "benches/**/*",
24 "tests/**/*",
25 "Cargo.toml",
26 "LICENSE",
27 "README.md",
28 "build.rs",
29 ]
30 autolib = false
31 autobins = false
32 autoexamples = false
33 autotests = false
34 autobenches = false
35 description = "Calendrical calculations in Rust"
36 readme = "README.md"
37 keywords = [
38 "calendars",
39 "mathematics",
40 ]
41 categories = [
42 "rust-patterns",
43 "memory-management",
44 "caching",
45 "no-std",
46 "data-structures",
47 ]
48 license = "Apache-2.0"
49 repository = "https://github.com/unicode-org/icu4x"
50
51 [package.metadata.workspaces]
52 independent = true
53
54 [package.metadata.docs.rs]
55 all-features = true
56
57 [features]
58 logging = ["dep:log"]
59
60 [lib]
61 name = "calendrical_calculations"
62 path = "src/lib.rs"
63
64 [dependencies.core_maths]
65 version = "0.1.0"
66 default-features = false
67
68 [dependencies.displaydoc]
69 version = "0.2.3"
70 default-features = false
71
72 [dependencies.log]
73 version = "0.4.17"
74 optional = true
75 default-features = false
76
77 [lints.clippy]
78 alloc-instead-of-core = "warn"
79 branches-sharing-code = "warn"
80 collection_is_never_read = "warn"
81 crosspointer_transmute = "warn"
82 dbg_macro = "warn"
83 debug_assert_with_mut_call = "warn"
84 doc_markdown = "warn"
85 exhaustive_enums = "deny"
86 exhaustive_structs = "deny"
87 fn_to_numeric_cast_any = "warn"
88 infinite_loop = "warn"
89 large_stack_arrays = "warn"
90 mismatching_type_param_order = "warn"
91 missing_fields_in_debug = "warn"
92 missing_transmute_annotations = "warn"
93 negative_feature_names = "warn"
94 or-fun-call = "warn"
95 same_functions_in_if_condition = "warn"
96 todo = "warn"
97 transmute_bytes_to_str = "warn"
98 transmute_int_to_bool = "warn"
99 transmute_int_to_non_zero = "warn"
100 transmute_ptr_to_ptr = "warn"
101 transmute_ptr_to_ref = "warn"
102 transmute_undefined_repr = "warn"
103 transmutes_expressible_as_ptr_casts = "warn"
104 trivially_copy_pass_by_ref = "deny"
105 unnecessary-wraps = "warn"
106 useless_transmute = "warn"
107 wildcard_dependencies = "warn"
108
109 [lints.rust]
110 missing_debug_implementations = "deny"
111 trivial_numeric_casts = "deny"
112 unused_lifetimes = "warn"
113 unused_macro_rules = "warn"
114 unused_qualifications = "warn"
115
116 [lints.rust.unexpected_cfgs]
117 level = "warn"
118 priority = 0
119 check-cfg = [
120 "cfg(icu4c_enable_renaming)",
121 "cfg(needs_alloc_error_handler)",
122 "cfg(icu4x_run_size_tests)",
123 "cfg(icu4x_unstable_fast_trie_only)",
124 ]