| 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 = "2024" |
| 14 |
rust-version = "1.88.0" |
| 15 |
name = "time-core" |
| 16 |
version = "0.1.9" |
| 17 |
authors = [ |
| 18 |
"Jacob Pratt <[email protected]>", |
| 19 |
"Time contributors", |
| 20 |
] |
| 21 |
build = false |
| 22 |
autolib = false |
| 23 |
autobins = false |
| 24 |
autoexamples = false |
| 25 |
autotests = false |
| 26 |
autobenches = false |
| 27 |
description = "This crate is an implementation detail and should not be relied upon directly." |
| 28 |
readme = false |
| 29 |
keywords = [ |
| 30 |
"date", |
| 31 |
"time", |
| 32 |
"calendar", |
| 33 |
"duration", |
| 34 |
] |
| 35 |
categories = ["date-and-time"] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/time-rs/time" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
all-features = true |
| 41 |
targets = ["x86_64-unknown-linux-gnu"] |
| 42 |
rustdoc-args = ["--generate-link-to-definition"] |
| 43 |
|
| 44 |
[features] |
| 45 |
large-dates = [] |
| 46 |
|
| 47 |
[lib] |
| 48 |
name = "time_core" |
| 49 |
path = "src/lib.rs" |
| 50 |
|
| 51 |
[lints.clippy] |
| 52 |
alloc-instead-of-core = "deny" |
| 53 |
as-underscore = "warn" |
| 54 |
dbg-macro = "warn" |
| 55 |
decimal-literal-representation = "warn" |
| 56 |
explicit-auto-deref = "warn" |
| 57 |
get-unwrap = "warn" |
| 58 |
manual-let-else = "warn" |
| 59 |
missing-docs-in-private-items = "warn" |
| 60 |
missing-enforced-import-renames = "warn" |
| 61 |
obfuscated-if-else = "warn" |
| 62 |
print-stdout = "warn" |
| 63 |
semicolon-outside-block = "warn" |
| 64 |
std-instead-of-core = "deny" |
| 65 |
todo = "warn" |
| 66 |
undocumented-unsafe-blocks = "deny" |
| 67 |
unimplemented = "warn" |
| 68 |
uninlined-format-args = "warn" |
| 69 |
unnested-or-patterns = "warn" |
| 70 |
unwrap-in-result = "warn" |
| 71 |
unwrap-used = "warn" |
| 72 |
use-debug = "warn" |
| 73 |
|
| 74 |
[lints.clippy.all] |
| 75 |
level = "warn" |
| 76 |
priority = -1 |
| 77 |
|
| 78 |
[lints.clippy.incompatible-msrv] |
| 79 |
level = "allow" |
| 80 |
priority = 1 |
| 81 |
|
| 82 |
[lints.clippy.nursery] |
| 83 |
level = "warn" |
| 84 |
priority = -1 |
| 85 |
|
| 86 |
[lints.clippy.option-if-let-else] |
| 87 |
level = "allow" |
| 88 |
priority = 1 |
| 89 |
|
| 90 |
[lints.clippy.redundant-pub-crate] |
| 91 |
level = "allow" |
| 92 |
priority = 1 |
| 93 |
|
| 94 |
[lints.clippy.uninhabited-references] |
| 95 |
level = "allow" |
| 96 |
priority = 1 |
| 97 |
|
| 98 |
[lints.rust] |
| 99 |
ambiguous-glob-reexports = "deny" |
| 100 |
clashing-extern-declarations = "deny" |
| 101 |
const-item-mutation = "deny" |
| 102 |
dangling-pointers-from-temporaries = "deny" |
| 103 |
deref-nullptr = "deny" |
| 104 |
drop-bounds = "deny" |
| 105 |
future-incompatible = "deny" |
| 106 |
hidden-glob-reexports = "deny" |
| 107 |
improper-ctypes = "deny" |
| 108 |
improper-ctypes-definitions = "deny" |
| 109 |
invalid-from-utf8 = "deny" |
| 110 |
invalid-macro-export-arguments = "deny" |
| 111 |
invalid-nan-comparisons = "deny" |
| 112 |
invalid-reference-casting = "deny" |
| 113 |
invalid-value = "deny" |
| 114 |
keyword-idents = "warn" |
| 115 |
let-underscore = "warn" |
| 116 |
macro-use-extern-crate = "warn" |
| 117 |
meta-variable-misuse = "warn" |
| 118 |
missing-abi = "warn" |
| 119 |
missing-copy-implementations = "warn" |
| 120 |
missing-debug-implementations = "warn" |
| 121 |
missing-docs = "warn" |
| 122 |
named-arguments-used-positionally = "deny" |
| 123 |
non-ascii-idents = "deny" |
| 124 |
noop-method-call = "warn" |
| 125 |
opaque-hidden-inferred-bound = "deny" |
| 126 |
overlapping-range-endpoints = "deny" |
| 127 |
single-use-lifetimes = "warn" |
| 128 |
suspicious-double-ref-op = "deny" |
| 129 |
trivial-casts = "warn" |
| 130 |
trivial-numeric-casts = "warn" |
| 131 |
unconditional-recursion = "deny" |
| 132 |
unnameable-test-items = "deny" |
| 133 |
unreachable-pub = "warn" |
| 134 |
unsafe-op-in-unsafe-fn = "deny" |
| 135 |
unstable-syntax-pre-expansion = "deny" |
| 136 |
unused-import-braces = "warn" |
| 137 |
unused-lifetimes = "warn" |
| 138 |
unused-qualifications = "warn" |
| 139 |
variant-size-differences = "warn" |
| 140 |
|
| 141 |
[lints.rust.unexpected_cfgs] |
| 142 |
level = "deny" |
| 143 |
priority = 0 |
| 144 |
check-cfg = [ |
| 145 |
"cfg(__ui_tests)", |
| 146 |
"cfg(bench)", |
| 147 |
] |
| 148 |
|
| 149 |
[lints.rust.unstable-name-collisions] |
| 150 |
level = "allow" |
| 151 |
priority = 1 |
| 152 |
|
| 153 |
[lints.rust.unused] |
| 154 |
level = "warn" |
| 155 |
priority = -1 |
| 156 |
|
| 157 |
[lints.rustdoc] |
| 158 |
private-doc-tests = "warn" |
| 159 |
unescaped-backticks = "warn" |