mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
39 lines
960 B
TOML
39 lines
960 B
TOML
[package]
|
|
name = "erg_common"
|
|
description = "A common components library of Erg"
|
|
documentation = "http://docs.rs/erg_common"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
|
|
[features]
|
|
debug = ["dep:backtrace-on-stack-overflow"]
|
|
backtrace = ["dep:backtrace-on-stack-overflow"]
|
|
japanese = []
|
|
simplified_chinese = []
|
|
traditional_chinese = []
|
|
unicode = []
|
|
pretty = []
|
|
large_thread = []
|
|
els = []
|
|
py_compat = []
|
|
no_std = []
|
|
full-repl = ["dep:crossterm"]
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = { version = "0.2", default-features = false }
|
|
backtrace-on-stack-overflow = { version = "0.2.0", optional = true }
|
|
[target.'cfg(target_os = "hermit")'.dependencies]
|
|
hermit-abi = "0.1.6"
|
|
[target.'cfg(windows)'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = ["consoleapi"]
|
|
|
|
[dependencies]
|
|
crossterm = { optional = true, version = "0.25.0" }
|
|
|
|
[lib]
|
|
path = "lib.rs"
|