[package]
edition = "2024"
rust-version = "1.93.1"
name = "no_std_time"
version = "0.16.0"
authors = [
"Andrea Fioraldi <andreafioraldi@gmail.com>",
"Dominik Maier <domenukk@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Time measurments that work in no_std environments"
documentation = "https://docs.rs/libafl"
readme = "README.md"
keywords = [
"os",
"shmem",
"no-std",
]
categories = [
"embedded",
"os",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AFLplusplus/LibAFL/"
resolver = "2"
[package.metadata.docs.rs]
features = ["document-features"]
all-features = true
[features]
alloc = []
default = [
"std",
"alloc",
]
document-features = ["dep:document-features"]
std = ["alloc"]
[lib]
name = "no_std_time"
path = "src/lib.rs"
[dependencies.document-features]
version = "0.2.12"
optional = true
[dev-dependencies]
[build-dependencies.rustversion]
version = "1.0.23"
[lints.clippy]
alloc_instead_of_core = "deny"
cargo_common_metadata = "deny"
cast_possible_truncation = "allow"
comparison_chain = "allow"
extra_unused_lifetimes = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
negative_feature_names = "allow"
ptr_as_ptr = "allow"
similar_names = "allow"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
struct_field_names = "allow"
too_many_lines = "allow"
type_repetition_in_bounds = "allow"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
used_underscore_binding = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
incomplete_features = "allow"
unexpected_cfgs = "forbid"
[lints.rust.warnings]
level = "deny"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "deny"