jumpcut 1.0.0

JumpCut is a library and CLI for converting Fountain-formatted text files into FDX, HTML, JSON, text, and PDF formats.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "jumpcut"
version = "1.0.0"
build = false
include = [
    "CHANGELOG.md",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "docs/*.md",
    "src/**/*.rs",
    "src/templates/**/*.ttf",
    "src/templates/fonts/OFL.txt",
    "src/templates/*.css",
    "src/templates/*.hbs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "jumpcut"
description = "JumpCut is a library and CLI for converting Fountain-formatted text files into FDX, HTML, JSON, text, and PDF formats."
homepage = "https://github.com/SimonGZ/jumpcut"
readme = "README.md"
keywords = [
    "fountain",
    "screenwriting",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/SimonGZ/jumpcut"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "html",
    "fdx",
]
default = [
    "html",
    "fdx",
    "pdf",
    "pdf-font-subsetting",
    "cli",
]
fdx = []
html = [
    "dep:base64",
    "dep:ttf-parser",
]
internal-tools = []
lib-only = [
    "html",
    "fdx",
    "pdf",
    "pdf-font-subsetting",
]
pdf = [
    "dep:flate2",
    "dep:pdf-writer",
    "dep:time",
    "dep:ttf-parser",
]
pdf-font-subsetting = [
    "pdf",
    "dep:subsetter",
]

[lib]
name = "jumpcut"
path = "src/lib.rs"

[[bin]]
name = "autoresearch_native_bench"
path = "src/bin/autoresearch_native_bench.rs"
required-features = ["internal-tools"]

[[bin]]
name = "jumpcut"
path = "src/bin/main.rs"
required-features = ["cli"]

[[bin]]
name = "pagination-diagnostics"
path = "src/bin/pagination-diagnostics.rs"
required-features = ["internal-tools"]

[dependencies.base64]
version = "0.23.0"
optional = true

[dependencies.clap]
version = "4.6.5"
features = ["derive"]
optional = true

[dependencies.flate2]
version = "1.1.9"
features = ["rust_backend"]
optional = true
default-features = false

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.pdf-writer]
version = "0.15.0"
optional = true

[dependencies.quick-xml]
version = "0.41.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.subsetter]
version = "0.2.6"
optional = true

[dependencies.time]
version = "0.3.44"
features = ["formatting"]
optional = true

[dependencies.ttf-parser]
version = "0.25.1"
optional = true

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.handlebars]
version = "6.4.2"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.unicode_categories]
version = "0.1.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.regex]
version = "1.13.1"
features = [
    "std",
    "perf",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.regex]
version = "1.13.1"
features = [
    "std",
    "perf-dfa",
]
default-features = false

[profile.release]
lto = true
codegen-units = 1
panic = "abort"