flesh/shell/Cargo.toml

26 lines
663 B
TOML
Raw Permalink Normal View History

[package]
name = "flesh-shell"
version = "0.4.0"
authors = ["Ava Affine <ava@sunnypup.io>"]
edition = "2021"
[[bin]]
name = "flesh"
path = "src/main.rs"
[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 }
flesh-core = { path = "../core", features = ["implicit-load"]}
[features]
default = ["posix"]
posix = ["dep:nix", "dep:libc"]