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.
14 rust-version = "1.67.0"
18 "Jacob Pratt <open-source@jhpratt.dev>",
22 Procedural macros for the time crate.
23 This crate is an implementation detail and should not be relied upon directly.
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"]
41 [dependencies.num-conv]
44 [dependencies.time-core]
55 alloc-instead-of-core = "deny"
57 decimal-literal-representation = "warn"
58 explicit-auto-deref = "warn"
60 manual-let-else = "warn"
61 missing-docs-in-private-items = "warn"
62 missing-enforced-import-renames = "warn"
64 obfuscated-if-else = "warn"
66 semicolon-outside-block = "warn"
67 std-instead-of-core = "deny"
69 undocumented-unsafe-blocks = "deny"
70 unimplemented = "warn"
71 uninlined-format-args = "warn"
72 unnested-or-patterns = "warn"
73 unwrap-in-result = "warn"
77 [lints.clippy.option-if-let-else]
81 [lints.clippy.redundant-pub-crate]
86 ambiguous-glob-reexports = "deny"
87 clashing-extern-declarations = "deny"
88 const-item-mutation = "deny"
89 deref-nullptr = "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"
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"
124 unused-import-braces = "warn"
125 unused-lifetimes = "warn"
126 unused-qualifications = "warn"
127 variant-size-differences = "warn"
129 [lints.rust.unstable-name-collisions]
134 private-doc-tests = "warn"
135 unescaped-backticks = "warn"