[package]
edition = "2024"
name = "texform-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser, document tree, and serializer for TeXForm (internal; use the texform crate)"
homepage = "https://texform.dev"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/texform-dev/texform"
[features]
tsify = [
"dep:tsify-next",
"dep:wasm-bindgen",
"texform-interface/tsify",
]
[lib]
name = "texform_core"
path = "src/lib.rs"
[[example]]
name = "parse"
path = "examples/parse.rs"
[[example]]
name = "validate_argspec"
path = "examples/validate_argspec.rs"
[[test]]
name = "ast"
path = "tests/ast.rs"
[[test]]
name = "ast_conversion"
path = "tests/ast_conversion.rs"
[[test]]
name = "column_parser"
path = "tests/column_parser.rs"
[[test]]
name = "lexer"
path = "tests/lexer.rs"
[[test]]
name = "node_spans"
path = "tests/node_spans.rs"
[[test]]
name = "parse_context_builder"
path = "tests/parse_context_builder.rs"
[[test]]
name = "parse_context_lookup"
path = "tests/parse_context_lookup.rs"
[[test]]
name = "parse_context_modes"
path = "tests/parse_context_modes.rs"
[[test]]
name = "parse_context_packages"
path = "tests/parse_context_packages.rs"
[[test]]
name = "parser_argument_forms"
path = "tests/parser_argument_forms.rs"
[[test]]
name = "parser_arguments"
path = "tests/parser_arguments.rs"
[[test]]
name = "parser_basic"
path = "tests/parser_basic.rs"
[[test]]
name = "parser_column_arg"
path = "tests/parser_column_arg.rs"
[[test]]
name = "parser_context_isolation"
path = "tests/parser_context_isolation.rs"
[[test]]
name = "parser_diagnostics"
path = "tests/parser_diagnostics.rs"
[[test]]
name = "parser_linebreak"
path = "tests/parser_linebreak.rs"
[[test]]
name = "parser_packages"
path = "tests/parser_packages.rs"
[[test]]
name = "parser_prime"
path = "tests/parser_prime.rs"
[[test]]
name = "parser_reparse"
path = "tests/parser_reparse.rs"
[[test]]
name = "serializer"
path = "tests/serializer.rs"
[[test]]
name = "syntax_node"
path = "tests/syntax_node.rs"
[dependencies.ariadne]
version = "0.5"
[dependencies.chumsky]
version = "0.11.1"
[dependencies.logos]
version = "0.15.1"
[dependencies.serde]
version = "1.0.216"
features = ["derive"]
[dependencies.slotmap]
version = "1.0.7"
[dependencies.texform-argspec]
version = "0.1.0"
[dependencies.texform-interface]
version = "0.1.0"
[dependencies.texform-knowledge]
version = "0.1.0"
[dependencies.tsify-next]
version = "0.5"
features = ["js"]
optional = true
default-features = false
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dev-dependencies.serde_json]
version = "1.0"