# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2024" rust-version = "1.88.0" name = "time-core" version = "0.1.8" authors = [ "Jacob Pratt ", "Time contributors", ] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "This crate is an implementation detail and should not be relied upon directly." readme = false keywords = [ "date", "time", "calendar", "duration", ] categories = ["date-and-time"] license = "MIT OR Apache-2.0" repository = "https://github.com/time-rs/time" [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] rustdoc-args = ["--generate-link-to-definition"] [features] large-dates = [] [lib] name = "time_core" path = "src/lib.rs" [lints.clippy] alloc-instead-of-core = "deny" as-underscore = "warn" dbg-macro = "warn" decimal-literal-representation = "warn" explicit-auto-deref = "warn" get-unwrap = "warn" manual-let-else = "warn" missing-docs-in-private-items = "warn" missing-enforced-import-renames = "warn" obfuscated-if-else = "warn" print-stdout = "warn" semicolon-outside-block = "warn" std-instead-of-core = "deny" todo = "warn" undocumented-unsafe-blocks = "deny" unimplemented = "warn" uninlined-format-args = "warn" unnested-or-patterns = "warn" unwrap-in-result = "warn" unwrap-used = "warn" use-debug = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.incompatible-msrv] level = "allow" priority = 1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.option-if-let-else] level = "allow" priority = 1 [lints.clippy.redundant-pub-crate] level = "allow" priority = 1 [lints.clippy.uninhabited-references] level = "allow" priority = 1 [lints.rust] ambiguous-glob-reexports = "deny" clashing-extern-declarations = "deny" const-item-mutation = "deny" dangling-pointers-from-temporaries = "deny" deref-nullptr = "deny" drop-bounds = "deny" future-incompatible = "deny" hidden-glob-reexports = "deny" improper-ctypes = "deny" improper-ctypes-definitions = "deny" invalid-from-utf8 = "deny" invalid-macro-export-arguments = "deny" invalid-nan-comparisons = "deny" invalid-reference-casting = "deny" invalid-value = "deny" keyword-idents = "warn" let-underscore = "warn" macro-use-extern-crate = "warn" meta-variable-misuse = "warn" missing-abi = "warn" missing-copy-implementations = "warn" missing-debug-implementations = "warn" missing-docs = "warn" named-arguments-used-positionally = "deny" non-ascii-idents = "deny" noop-method-call = "warn" opaque-hidden-inferred-bound = "deny" overlapping-range-endpoints = "deny" single-use-lifetimes = "warn" suspicious-double-ref-op = "deny" trivial-casts = "warn" trivial-numeric-casts = "warn" unconditional-recursion = "deny" unnameable-test-items = "deny" unreachable-pub = "warn" unsafe-op-in-unsafe-fn = "deny" unstable-syntax-pre-expansion = "deny" unused-import-braces = "warn" unused-lifetimes = "warn" unused-qualifications = "warn" variant-size-differences = "warn" [lints.rust.unexpected_cfgs] level = "deny" priority = 0 check-cfg = [ "cfg(__ui_tests)", "cfg(bench)", ] [lints.rust.unstable-name-collisions] level = "allow" priority = 1 [lints.rust.unused] level = "warn" priority = -1 [lints.rustdoc] private-doc-tests = "warn" unescaped-backticks = "warn"