Files
texrra-engine/vendor/texlang-stdlib/Cargo.toml
T
gloamxun bb1d9e0561 Initial texrra engine
Rename the crate, binary, core crate, font families, env vars, and internal commands from texcraft/tex-engine to texrra. Serve the separately versioned texrra-web frontend from TEXRRA_WEB_DIR, ../web, or ./web instead of embedding index.html. Add starred section heading support and an arXiv template conformance fixture.
2026-10-19 11:41:46 +08:00

55 lines
2.0 KiB
TOML

[package]
name = "texlang-stdlib"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "The Texlang standard library of TeX primitives"
homepage = "https://texcraft.dev"
repository = "https://github.com/jamespfennell/texcraft"
keywords = ["tex", "texcraft"]
[[bin]]
name = "texlang-all-errors"
path = "bin/errors.rs"
[dependencies]
# Texcraft
common = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
texcraft-stdext = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
texlang = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
texlang-common = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
# This should be a dev-dependency, but this breaks `cargo t`
# I think there's actually a bug in cargo.
# The problem is that it invokes `rustc` on texlang_testing with
# the serde feature enabled but without passing serde as a dependency.
texlang-testing = { git = "https://github.com/jamespfennell/texcraft", rev = "c1dbf5dfe3a480daf73972c394ac8231e0c6ebd0" }
# Third-party
## In the time module, for getting the current time on startup.
chrono = {version="0.4.19", default-features = false, features = ["clock"], optional = true}
## In the REPL module, for reading terminal input in a nice way
linefeed = {version = "0.6", optional = true }
## The usual suspects
serde = {version="^1.0", optional = true}
serde_json = {version="1.0", optional = true}
rmp-serde = {version="^1.0", optional = true}
bincode = {version="2.0.0-rc.3", default-features = false, features = ["alloc", "serde"], optional = true}
[dev-dependencies]
[features]
default = ["time"]
color = ["texcraft-stdext/color"]
repl = ["dep:linefeed"]
serde = [
"dep:serde", "dep:serde_json", "dep:rmp-serde",
"dep:bincode", "texcraft-stdext/serde", "texlang/serde",
"texlang-testing/serde"
]
time = ["dep:chrono"]