Bug 1920487 - QM: Rename helpers for resolving nsresult type; r=dom-storage-reviewers...
[gecko.git] / third_party / rust / time-macros / Cargo.toml
blobb8176221545369ab4a8c67e30034551cb9bd969d
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
12 [package]
13 edition = "2021"
14 rust-version = "1.67.0"
15 name = "time-macros"
16 version = "0.2.18"
17 authors = [
18     "Jacob Pratt <open-source@jhpratt.dev>",
19     "Time contributors",
21 description = """
22     Procedural macros for the time crate.
23     This crate is an implementation detail and should not be relied upon directly.
24 """
25 keywords = [
26     "date",
27     "time",
28     "calendar",
29     "duration",
31 categories = ["date-and-time"]
32 license = "MIT OR Apache-2.0"
33 repository = "https://github.com/time-rs/time"
35 [package.metadata.docs.rs]
36 rustdoc-args = ["--generate-link-to-definition"]
38 [lib]
39 proc-macro = true
41 [dependencies.num-conv]
42 version = "0.1.0"
44 [dependencies.time-core]
45 version = "=0.1.2"
47 [features]
48 formatting = []
49 large-dates = []
50 parsing = []
51 serde = []
53 [lints.clippy]
54 all = "warn"
55 alloc-instead-of-core = "deny"
56 dbg-macro = "warn"
57 decimal-literal-representation = "warn"
58 explicit-auto-deref = "warn"
59 get-unwrap = "warn"
60 manual-let-else = "warn"
61 missing-docs-in-private-items = "warn"
62 missing-enforced-import-renames = "warn"
63 nursery = "warn"
64 obfuscated-if-else = "warn"
65 print-stdout = "warn"
66 semicolon-outside-block = "warn"
67 std-instead-of-core = "deny"
68 todo = "warn"
69 undocumented-unsafe-blocks = "deny"
70 unimplemented = "warn"
71 uninlined-format-args = "warn"
72 unnested-or-patterns = "warn"
73 unwrap-in-result = "warn"
74 unwrap-used = "warn"
75 use-debug = "warn"
77 [lints.clippy.option-if-let-else]
78 level = "allow"
79 priority = 1
81 [lints.clippy.redundant-pub-crate]
82 level = "allow"
83 priority = 1
85 [lints.rust]
86 ambiguous-glob-reexports = "deny"
87 clashing-extern-declarations = "deny"
88 const-item-mutation = "deny"
89 deref-nullptr = "deny"
90 drop-bounds = "deny"
91 future-incompatible = "deny"
92 hidden-glob-reexports = "deny"
93 improper-ctypes = "deny"
94 improper-ctypes-definitions = "deny"
95 invalid-from-utf8 = "deny"
96 invalid-macro-export-arguments = "deny"
97 invalid-nan-comparisons = "deny"
98 invalid-reference-casting = "deny"
99 invalid-value = "deny"
100 keyword-idents = "warn"
101 let-underscore = "warn"
102 macro-use-extern-crate = "warn"
103 meta-variable-misuse = "warn"
104 missing-abi = "warn"
105 missing-copy-implementations = "warn"
106 missing-debug-implementations = "warn"
107 missing-docs = "warn"
108 named-arguments-used-positionally = "deny"
109 non-ascii-idents = "deny"
110 noop-method-call = "warn"
111 opaque-hidden-inferred-bound = "deny"
112 overlapping-range-endpoints = "deny"
113 single-use-lifetimes = "warn"
114 suspicious-double-ref-op = "deny"
115 temporary-cstring-as-ptr = "deny"
116 trivial-casts = "warn"
117 trivial-numeric-casts = "warn"
118 unconditional-recursion = "deny"
119 unnameable-test-items = "deny"
120 unreachable-pub = "warn"
121 unsafe-op-in-unsafe-fn = "deny"
122 unstable-syntax-pre-expansion = "deny"
123 unused = "warn"
124 unused-import-braces = "warn"
125 unused-lifetimes = "warn"
126 unused-qualifications = "warn"
127 variant-size-differences = "warn"
129 [lints.rust.unstable-name-collisions]
130 level = "warn"
131 priority = 1
133 [lints.rustdoc]
134 private-doc-tests = "warn"
135 unescaped-backticks = "warn"