[package]
edition = "2024"
rust-version = "1.95"
name = "stoa-core"
version = "0.1.0"
authors = ["Stoa Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stoa core types: schema, frontmatter, ids."
readme = false
license = "MIT"
repository = "https://github.com/marcoskichel/stoa"
[lib]
name = "stoa_core"
path = "src/lib.rs"
[[test]]
name = "frontmatter_roundtrip"
path = "tests/frontmatter_roundtrip.rs"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
"std",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "2"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
await_holding_invalid_type = "deny"
await_holding_lock = "deny"
cargo_common_metadata = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "deny"
debug_assert_with_mut_call = "warn"
empty_line_after_doc_comments = "warn"
exit = "deny"
expect_used = "deny"
get_unwrap = "deny"
large_futures = "warn"
lossy_float_literal = "deny"
mem_forget = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "deny"
must_use_candidate = "allow"
panic = "deny"
panic_in_result_fn = "deny"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "warn"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "deny"
significant_drop_tightening = "warn"
similar_names = "allow"
str_to_string = "warn"
struct_excessive_bools = "allow"
todo = "deny"
too_many_lines = "warn"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
verbose_file_reads = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
let_underscore_drop = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "deny"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_must_use = "deny"
unused_qualifications = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1