[package]
edition = "2024"
name = "citum-engine"
version = "0.63.0"
authors = ["Bruce D'Arcus <bdarcus@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Citum citation and bibliography processor"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/citum/citum-core"
resolver = "2"
[features]
default = ["icu"]
ffi = []
icu = [
"dep:icu_collator",
"dep:icu_locale",
]
schema = [
"dep:schemars",
"citum-schema/schema",
"citum-schema-data/schema",
]
[lib]
name = "citum_engine"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[example]]
name = "test_cite"
path = "examples/test_cite.rs"
[[test]]
name = "bibliography"
path = "tests/bibliography.rs"
[[test]]
name = "citations"
path = "tests/citations.rs"
[[test]]
name = "document"
path = "tests/document.rs"
[[test]]
name = "domain_fixtures"
path = "tests/domain_fixtures.rs"
[[test]]
name = "forward_compatibility"
path = "tests/forward_compatibility.rs"
[[test]]
name = "gendered_locale"
path = "tests/gendered_locale.rs"
[[test]]
name = "i18n"
path = "tests/i18n.rs"
[[test]]
name = "io"
path = "tests/io.rs"
[[test]]
name = "metadata"
path = "tests/metadata.rs"
[[test]]
name = "multilingual"
path = "tests/multilingual.rs"
[[test]]
name = "multilingual_names"
path = "tests/multilingual_names.rs"
[[test]]
name = "name_form_initialization"
path = "tests/name_form_initialization.rs"
[[test]]
name = "regression_interview"
path = "tests/regression_interview.rs"
[[test]]
name = "sort_oracle"
path = "tests/sort_oracle.rs"
[[bench]]
name = "rendering"
path = "benches/rendering.rs"
harness = false
[dependencies.citum-edtf]
version = "0.63.0"
features = ["serde"]
[dependencies.citum-refs]
version = "0.63.0"
[dependencies.citum-schema]
version = "0.63.0"
features = ["legacy-convert"]
[dependencies.citum-schema-data]
version = "0.63.0"
[dependencies.csl-legacy]
version = "0.63.0"
[dependencies.icu_collator]
version = "2.2.0"
features = ["compiled_data"]
optional = true
[dependencies.icu_locale]
version = "2.2.0"
optional = true
[dependencies.indexmap]
version = "2.2.6"
features = ["serde"]
[dependencies.jotdown]
version = "0.10"
[dependencies.orgize]
version = "0.9"
[dependencies.pulldown-cmark]
version = "0.13"
[dependencies.schemars]
version = "1.2.1"
features = ["derive"]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.10"
package = "serde_yaml_ng"
[dependencies.thiserror]
version = "2.0"
[dependencies.unicode-script]
version = "0.5.8"
[dependencies.winnow]
version = "1.0"
[dev-dependencies.citum-resolver-api]
version = "0.63.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tracing]
version = "0.1"
[dev-dependencies.url]
version = "2.5"
features = ["serde"]
[lints.clippy]
allow_attributes_without_reason = "deny"
assigning_clones = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cognitive_complexity = "deny"
default_trait_access = "allow"
doc_markdown = "allow"
empty_docs = "deny"
expect_used = "deny"
format_push_string = "allow"
four_forward_slashes = "deny"
get_unwrap = "deny"
implicit_hasher = "allow"
indexing_slicing = "deny"
items_after_statements = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_safety_doc = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
panic = "deny"
panic_in_result_fn = "deny"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
similar_names = "allow"
string_slice = "deny"
struct_excessive_bools = "allow"
tabs_in_doc_comments = "deny"
todo = "deny"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unimplemented = "deny"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"
unreachable = "deny"
unused_self = "allow"
unwrap_in_result = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("typescript"))']
[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "deny"
invalid_html_tags = "warn"
missing_crate_level_docs = "warn"
private_intra_doc_links = "warn"
redundant_explicit_links = "warn"
unescaped_backticks = "warn"