-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We keep the shrs_example crate in the repository root since it depends on both the "shrs" crate, as well as the plugins, so having it under `crates/shrs/examples/` would be a bit arbitrary, since it rather acts as an integration test for all the crates and plugins. Resolves #233.
- Loading branch information
1 parent
1c3fe81
commit b6d5234
Showing
20 changed files
with
66 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,6 @@ | ||
[package] | ||
name = "shrs" | ||
version = "0.0.1" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
authors = ["MrPicklePinosaur"] | ||
description = "modular library to build your own shell in rust" | ||
homepage = "https://mrpicklepinosaur.github.io/shrs/" | ||
categories = ["command-line-interface", "command-line-utilities", "development-tools"] | ||
keywords = ["shrs", "shell", "posix", "unix"] | ||
readme = "README.md" | ||
repository = "https://github.com/MrPicklePinosaur/shrs" | ||
|
||
[workspace] | ||
members = [ | ||
"shrs_example", | ||
"crates/shrs_core", | ||
"crates/shrs_line", | ||
"crates/shrs_lang", | ||
"crates/shrs_vi", | ||
"crates/shrs_utils", | ||
"crates/shrs_job", | ||
"plugins/shrs_output_capture", | ||
"plugins/shrs_cd_tools", | ||
"plugins/shrs_command_timer", | ||
"plugins/shrs_derive_completion", | ||
"plugins/shrs_run_context", | ||
"plugins/shrs_mux", | ||
"plugins/shrs_cd_stack", | ||
"plugins/shrs_lang_options", | ||
"plugins/shrs_file_logger" | ||
"crates/*", | ||
"plugins/*", | ||
] | ||
|
||
[features] | ||
default = ["serde"] | ||
serde = ["dep:serde", "shrs_core/serde"] | ||
|
||
[dependencies] | ||
regex = "1" | ||
signal-hook = "0.3" | ||
clap = { version = "4.1", features = ["derive"] } | ||
crossterm = "0.26" | ||
derive_builder = "0.12" | ||
dirs = "5" | ||
|
||
pino_deref = "0.1" | ||
|
||
thiserror = "1" | ||
anyhow = "1" | ||
lazy_static = "1.4" | ||
log = "0.4" | ||
|
||
shrs_core = { path = "crates/shrs_core", version = "0.0.1-dev" } | ||
shrs_line = { path = "crates/shrs_line", version = "0.0.1-dev" } | ||
shrs_lang = { path = "crates/shrs_lang", version = "0.0.1-dev" } | ||
shrs_job = { path = "crates/shrs_job", version = "0.0.1-dev" } | ||
|
||
serde = { version = "1", features = ["derive"], optional = true } | ||
|
||
[dev-dependencies] | ||
rexpect = "0.5" | ||
|
||
ron = "0.8" | ||
serde = { version = "1", features = ["derive"] } | ||
criterion = { version = "0.5" } | ||
|
||
[target.x86_64-unknown-linux-gnu] | ||
linker = "/usr/bin/clang" | ||
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"] | ||
|
||
[[bench]] | ||
name = "bench" | ||
harness = false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[package] | ||
name = "shrs" | ||
version = "0.0.1" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
authors = ["MrPicklePinosaur"] | ||
description = "modular library to build your own shell in rust" | ||
homepage = "https://mrpicklepinosaur.github.io/shrs/" | ||
categories = ["command-line-interface", "command-line-utilities", "development-tools"] | ||
keywords = ["shrs", "shell", "posix", "unix"] | ||
readme = "README.md" | ||
repository = "https://github.com/MrPicklePinosaur/shrs" | ||
|
||
[features] | ||
default = ["serde"] | ||
serde = ["dep:serde", "shrs_core/serde"] | ||
|
||
[dependencies] | ||
regex = "1" | ||
signal-hook = "0.3" | ||
clap = { version = "4.1", features = ["derive"] } | ||
crossterm = "0.26" | ||
derive_builder = "0.12" | ||
dirs = "5" | ||
|
||
pino_deref = "0.1" | ||
|
||
thiserror = "1" | ||
anyhow = "1" | ||
lazy_static = "1.4" | ||
log = "0.4" | ||
|
||
shrs_core = { path = "../shrs_core", version = "0.0.1-dev" } | ||
shrs_line = { path = "../shrs_line", version = "0.0.1-dev" } | ||
shrs_lang = { path = "../shrs_lang", version = "0.0.1-dev" } | ||
shrs_job = { path = "../shrs_job", version = "0.0.1-dev" } | ||
|
||
serde = { version = "1", features = ["derive"], optional = true } | ||
|
||
[dev-dependencies] | ||
rexpect = "0.5" | ||
|
||
ron = "0.8" | ||
serde = { version = "1", features = ["derive"] } | ||
criterion = { version = "0.5" } | ||
|
||
[target.x86_64-unknown-linux-gnu] | ||
linker = "/usr/bin/clang" | ||
rustflags = ["-Clink-arg=-fuse-ld=lld", "-Clink-arg=-Wl,--no-rosegment"] | ||
|
||
[[bench]] | ||
name = "bench" | ||
harness = false | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters