[package]
edition = "2021"
rust-version = "1.82"
name = "ass-editor"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance, ergonomic editor layer for ASS subtitles"
homepage = "https://github.com/wiedymi/ass-rs"
documentation = "https://docs.rs/ass-editor"
readme = "README.md"
keywords = [
"ass",
"subtitle",
"editor",
"ssa",
"substation",
]
categories = [
"multimedia::video",
"text-editors",
"parser-implementations",
]
license = "MIT"
repository = "https://github.com/wiedymi/ass-rs"
[features]
analysis = ["ass-core/analysis"]
arena = ["dep:bumpalo"]
async = [
"dep:futures",
"dep:tokio",
"std",
]
concurrency = [
"multi-thread",
"async",
"std",
"dep:static_assertions",
]
default = ["full"]
dev-benches = []
formats = [
"dep:regex",
"std",
]
full = [
"ass-core/full",
"minimal",
"std",
"analysis",
"plugins",
"formats",
"search-index",
"concurrency",
"serde",
"dep:thiserror",
]
minimal = [
"ass-core/minimal",
"rope",
"arena",
"stream",
"dep:hashbrown",
]
multi-thread = [
"dep:parking_lot",
"std",
]
nostd = [
"dep:hashbrown",
"ass-core/nostd",
]
plugins = ["ass-core/plugins"]
rope = ["dep:ropey"]
search-index = [
"dep:fst",
"std",
]
serde = [
"dep:serde",
"ass-core/serde",
"std",
]
simd = ["ass-core/simd"]
simd-full = ["ass-core/simd-full"]
std = [
"ass-core/std",
"ropey/default",
"bumpalo/std",
]
stream = ["ass-core/stream"]
[lib]
name = "ass_editor"
path = "lib.rs"
[[example]]
name = "ass_aware_demo"
path = "examples/ass_aware_demo.rs"
[[test]]
name = "edge_cases_test"
path = "tests/edge_cases_test.rs"
[[test]]
name = "error_recovery_test"
path = "tests/error_recovery_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[bench]]
name = "editor_commands"
path = "benches/editor_commands.rs"
harness = false
required-features = ["full"]
[[bench]]
name = "incremental_parsing"
path = "benches/incremental_parsing.rs"
harness = false
required-features = ["stream"]
[[bench]]
name = "memory_performance"
path = "benches/memory_performance.rs"
harness = false
required-features = ["full"]
[[bench]]
name = "search_performance"
path = "benches/search_performance.rs"
harness = false
required-features = ["full"]
[dependencies.ass-core]
version = "0.1.2"
default-features = false
[dependencies.bumpalo]
version = "3.14"
optional = true
default-features = false
[dependencies.fst]
version = "0.4.7"
optional = true
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.hashbrown]
version = "0.14"
optional = true
[dependencies.parking_lot]
version = "0.12"
optional = true
[dependencies.regex]
version = "1.10"
optional = true
[dependencies.ropey]
version = "1.6.1"
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.static_assertions]
version = "1.1"
optional = true
[dependencies.thiserror]
version = "1.0.63"
optional = true
[dependencies.tokio]
version = "1.35"
features = ["sync"]
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.8"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]