[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"]