flesh/Cargo.toml
Ava Hahn 906cb16355 POSIX conditional compilation:
* All features related to POSIX environments (env vars, shell stuff) gated by feature flags
* Dependencies optional per feature flags
* new CI target for non-POSIX build
* new CI target for release binary artifact

Signed-off-by: Ava Hahn [ava@sunnypup.io](mailto:ava@sunnypup.io)
2023-05-26 06:41:18 +00:00

24 lines
713 B
TOML

[package]
name = "relish"
version = "0.3.0"
authors = ["Ava <ava@sunnypup.io>"]
edition = "2021"
[dependencies]
# used in config (src/run.rs)
dirs = "3.0"
# these two are used in src/bin/relish.rs to manage a prompt
nu-ansi-term = "0.47.0"
reedline = "0.17.0"
# used by main shell to update console dimensions
termion = "2.0.1"
# these two used in posix shell layer (src/stl/posix.rs)
nix = { version = "0.26.2", optional = true }
libc = { version = "0.2.144", optional = true }
# this one provides a global constant lookup table for simple
# string escaping in the lexer
phf = { version = "0.11", default-features = false, features = ["macros"] }
[features]
default = ["posix"]
posix = ["dep:nix", "dep:libc"]