[package]
edition = "2024"
rust-version = "1.85"
name = "repl-lang"
version = "1.1.1"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Read-eval-print loop scaffolding: line editing, session state, and incremental input feed."
homepage = "https://github.com/jamesgober/repl-lang"
documentation = "https://docs.rs/repl-lang"
readme = "README.md"
keywords = [
"repl",
"interactive",
"interpreter",
"language",
"line-editing",
]
categories = [
"command-line-interface",
"development-tools",
"compilers",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/repl-lang"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = [
"lexer-lang/std",
"diag-lang/std",
"source-lang/std",
"unicode-lang/std",
]
[lib]
name = "repl_lang"
path = "src/lib.rs"
[[example]]
name = "calc"
path = "examples/calc.rs"
[[example]]
name = "line_editing"
path = "examples/line_editing.rs"
[[example]]
name = "notebook"
path = "examples/notebook.rs"
[[test]]
name = "editor"
path = "tests/editor.rs"
[[test]]
name = "lang_forge"
path = "tests/lang_forge.rs"
[[test]]
name = "pipeline"
path = "tests/pipeline.rs"
[[test]]
name = "proptests"
path = "tests/proptests.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.diag-lang]
version = "1"
default-features = false
[dependencies.lexer-lang]
version = "1"
default-features = false
[dependencies.source-lang]
version = "1"
default-features = false
[dependencies.unicode-lang]
version = "1"
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.lang-forge]
version = "1.0.1"
[dev-dependencies.parser-lang]
version = "1"
[dev-dependencies.proptest]
version = "1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"