# 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"
name = "time_requirements"
version = "0.1.0"
authors = ["Earth Metabolome Initiative"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Crate to measure time requirements of steps in your code."
homepage = "https://github.com/earth-metabolome-initiative/time_requirements"
documentation = "https://docs.rs/time_requirements"
readme = "README.md"
keywords = [
    "time",
    "measurement",
    "performance",
    "profiling",
]
categories = [
    "development-tools::profiling",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/earth-metabolome-initiative/time_requirements"

[lib]
name = "time_requirements"
path = "src/lib.rs"

[[test]]
name = "test_time_requirements"
path = "tests/test_time_requirements.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.chrono-humanize]
version = "0.2.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tabled]
version = "0.20.0"

[lints.clippy]
clone_on_copy = "forbid"
doc_markdown = "allow"
missing_panics_doc = "allow"
new_ret_no_self = "allow"
should_panic_without_expect = "allow"
struct_excessive_bools = "allow"
unreadable_literal = "allow"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
deprecated = "deny"
missing_docs = "forbid"
unconditional_recursion = "forbid"
unreachable_patterns = "forbid"
unused_import_braces = "forbid"
unused_macro_rules = "forbid"
unused_must_use = "forbid"

[lints.rustdoc]
bare_urls = "forbid"
broken_intra_doc_links = "forbid"
invalid_codeblock_attributes = "forbid"
invalid_html_tags = "forbid"
invalid_rust_codeblocks = "forbid"
missing_crate_level_docs = "forbid"
redundant_explicit_links = "forbid"
unescaped_backticks = "forbid"
