| 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.0" |
| 15 |
name = "time-macros" |
| 16 |
version = "0.2.18" |
| 17 |
authors = [ |
| 18 |
"Jacob Pratt <[email protected]>", |
| 19 |
"Time contributors", |
| 20 |
] |
| 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", |
| 30 |
] |
| 31 |
categories = ["date-and-time"] |
| 32 |
license = "MIT OR Apache-2.0" |
| 33 |
repository = "https://github.com/time-rs/time" |
| 34 |
|
| 35 |
[package.metadata.docs.rs] |
| 36 |
rustdoc-args = ["--generate-link-to-definition"] |
| 37 |
|
| 38 |
[lib] |
| 39 |
proc-macro = true |
| 40 |
|
| 41 |
[dependencies.num-conv] |
| 42 |
version = "0.1.0" |
| 43 |
|
| 44 |
[dependencies.time-core] |
| 45 |
version = "=0.1.2" |
| 46 |
|
| 47 |
[features] |
| 48 |
formatting = [] |
| 49 |
large-dates = [] |
| 50 |
parsing = [] |
| 51 |
serde = [] |
| 52 |
|
| 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" |
| 76 |
|
| 77 |
[lints.clippy.option-if-let-else] |
| 78 |
level = "allow" |
| 79 |
priority = 1 |
| 80 |
|
| 81 |
[lints.clippy.redundant-pub-crate] |
| 82 |
level = "allow" |
| 83 |
priority = 1 |
| 84 |
|
| 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" |
| 128 |
|
| 129 |
[lints.rust.unstable-name-collisions] |
| 130 |
level = "warn" |
| 131 |
priority = 1 |
| 132 |
|
| 133 |
[lints.rustdoc] |
| 134 |
private-doc-tests = "warn" |
| 135 |
unescaped-backticks = "warn" |