ass-core 0.1.0

High-performance ASS subtitle format parser and analyzer
Documentation
[[bench]]
harness = false
name = "incremental_benchmarks"
path = "benches/incremental_benchmarks.rs"
required-features = ["benches"]

[[bench]]
harness = false
name = "memory_benchmarks"
path = "benches/memory_benchmarks.rs"
required-features = ["benches"]

[[bench]]
harness = false
name = "parser_benchmarks"
path = "benches/parser_benchmarks.rs"
required-features = ["benches"]

[[bin]]
name = "check-perf-regression"
path = "bin/check_perf_regression.rs"
required-features = ["benches"]

[[bin]]
name = "memory-profile"
path = "bin/memory_profile.rs"
required-features = ["benches"]

[[bin]]
name = "validate-bench-results"
path = "bin/validate_bench_results.rs"
required-features = ["benches"]

[dependencies.ahash]
default-features = false
features = ["std"]
version = "0.8.11"

[dependencies.bitflags]
version = "2.4.1"

[dependencies.bumpalo]
optional = true
version = "3.14"

[dependencies.criterion]
features = ["html_reports"]
optional = true
version = "0.5"

[dependencies.hashbrown]
features = ["ahash"]
optional = true
version = "0.14"

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

[dependencies.thiserror]
version = "1.0.63"

[dependencies.wide]
optional = true
version = "0.7"

[features]
analysis = []
arena = ["dep:bumpalo"]
benches = ["dep:criterion"]
default = ["full"]
full = ["std", "analysis", "plugins", "stream", "simd", "arena", "unicode-wrap", "serde"]
minimal = ["nostd", "analysis", "plugins", "stream"]
nostd = ["dep:hashbrown"]
plugins = []
serde = ["dep:serde"]
simd = ["dep:wide"]
simd-full = ["simd"]
std = []
stream = []
unicode-wrap = []

[lib]
name = "ass_core"
path = "lib.rs"

[lints.clippy]
all = "deny"
cargo = "warn"
cast_ptr_alignment = "deny"
fn_to_numeric_cast_any = "deny"
inefficient_to_string = "deny"
missing_docs_in_private_items = "warn"
module_name_repetitions = "allow"
negative_feature_names = "allow"
nursery = "warn"
pedantic = "warn"
similar_names = "allow"
string_add = "deny"
string_add_assign = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"

[lints.rust]
unreachable_code = "warn"
unused_imports = "deny"
unused_mut = "deny"
unused_variables = "deny"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "multimedia", "text-processing"]
description = "High-performance ASS subtitle format parser and analyzer"
documentation = "https://docs.rs/ass-core"
edition = "2021"
homepage = "https://github.com/wiedymi/ass-rs"
keywords = ["subtitle", "ass", "ssa", "parser", "aegisub"]
license = "MIT"
name = "ass-core"
readme = "README.md"
repository = "https://github.com/wiedymi/ass-rs"
rust-version = "1.75"
version = "0.1.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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