# 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 = "2021" name = "tinytime" version = "0.12.7" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Low overhead implementation of time-related concepts." homepage = "https://github.com/moia-oss/tinytime.rs" documentation = "https://docs.rs/tinytime" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/moia-oss/tinytime.rs" [lib] name = "tinytime" path = "src/lib.rs" [dependencies.chrono] version = "0.4.31" [dependencies.derive_more] version = "1.0.0" features = [ "deref", "from", "into", "not", "sum", ] [dependencies.lazy_static] version = "1.4.0" [dependencies.rand] version = "0.8.5" optional = true [dependencies.regex] version = "1.11.1" [dependencies.serde] version = "1.0.215" features = ["derive"] default-features = false [dependencies.thiserror] version = "2.0.3" [dev-dependencies.serde_json] version = "1.0.133" [dev-dependencies.serde_test] version = "1.0.176" [features] rand = ["dep:rand"] [lints.clippy] allow_attributes = "deny" allow_attributes_without_reason = "deny" cast_lossless = "allow" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "allow" cast_sign_loss = "allow" disallowed-types = "deny" missing_const_for_fn = "warn" missing_errors_doc = "allow" todo = "warn" [lints.clippy.cargo] level = "allow" priority = -1 [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.correctness] level = "deny" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "deny" priority = -1 [lints.rust] dead_code = "warn" macro_use_extern_crate = "warn" meta_variable_misuse = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" missing_docs = "allow" single_use_lifetimes = "warn" unreachable_pub = "warn" unsafe_code = "deny" unstable_features = "deny" unused_crate_dependencies = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" unused_results = "warn" [lints.rust.unused] level = "warn" priority = -1 [lints.rustdoc] broken_intra_doc_links = "deny" missing_crate_level_docs = "warn"