Skip to content

Commit

Permalink
bump version numbers in preperation for 0.0.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPicklePinosaur committed Feb 2, 2024
1 parent f5a2947 commit 0dca7e1
Show file tree
Hide file tree
Showing 31 changed files with 99 additions and 65 deletions.
12 changes: 6 additions & 6 deletions crates/shrs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs"
version = "0.0.3"
version = "0.0.4"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["MrPicklePinosaur"]
Expand Down Expand Up @@ -31,11 +31,11 @@ anyhow = "1"
lazy_static = "1.4"
log = "0.4"

shrs_core = { path = "../shrs_core", version = "^0.0.3" }
shrs_line = { path = "../shrs_line", version = "^0.0.3" }
shrs_lang = { path = "../shrs_lang", version = "^0.0.3" }
shrs_job = { path = "../shrs_job", version = "^0.0.3" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.3" }
shrs_core = { path = "../shrs_core", version = "^0.0.4" }
shrs_line = { path = "../shrs_line", version = "^0.0.4" }
shrs_lang = { path = "../shrs_lang", version = "^0.0.4" }
shrs_job = { path = "../shrs_job", version = "^0.0.4" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.4" }

serde = { version = "1", features = ["derive"], optional = true }

Expand Down
2 changes: 1 addition & 1 deletion crates/shrs/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/shrs/0.0.3")]
#![doc(html_root_url = "https://docs.rs/shrs/0.0.4")]

//! **shrs** is a framework for building and configuring your own shell in rust.
//!
Expand Down
6 changes: 3 additions & 3 deletions crates/shrs_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_core"
version = "0.0.3"
version = "0.0.4"
description = "modular library to build your own shell in rust"

authors.workspace = true
Expand All @@ -27,8 +27,8 @@ anymap = "1.0.0-beta.2"
multimap = "0.9"
skim = "0.10.4"

shrs_job = { path = "../shrs_job", version = "^0.0.3" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.3" }
shrs_job = { path = "../shrs_job", version = "^0.0.4" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.4" }

pino_deref = "0.1"

Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_job/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_job"
version = "0.0.3"
version = "0.0.4"
description = "utilities for managing jobs and processes"

authors.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions crates/shrs_lang/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_lang"
version = "0.0.3"
version = "0.0.4"
description = "parser and lexer for shrs posix shell"
build = "build.rs"

Expand All @@ -13,8 +13,8 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs_core = { path = "../shrs_core", version = "^0.0.3" }
shrs_job = { path = "../shrs_job", version = "^0.0.3" }
shrs_core = { path = "../shrs_core", version = "^0.0.4" }
shrs_job = { path = "../shrs_job", version = "^0.0.4" }
lalrpop-util = { version = "0.19.8", features = ["lexer"] }
regex = "1"
nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]}
Expand Down
10 changes: 5 additions & 5 deletions crates/shrs_line/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_line"
version = "0.0.3"
version = "0.0.4"
description = "readline implementation"

authors.workspace = true
Expand All @@ -22,8 +22,8 @@ tempfile = "3.9"

anyhow = "1"
thiserror = "1"
shrs_core = { path = "../shrs_core", version = "^0.0.3" }
shrs_vi = { path = "../shrs_vi", version = "^0.0.3" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.3" }
shrs_lang = {path = "../shrs_lang", version = "^0.0.3" }
shrs_core = { path = "../shrs_core", version = "^0.0.4" }
shrs_vi = { path = "../shrs_vi", version = "^0.0.4" }
shrs_utils = { path = "../shrs_utils", version = "^0.0.4" }
shrs_lang = {path = "../shrs_lang", version = "^0.0.4" }
# shrs_core = { path = "../shrs_utils" }
2 changes: 1 addition & 1 deletion crates/shrs_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_utils"
version = "0.0.3"
version = "0.0.4"
description = "utilities for shrs"

authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/shrs_vi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_vi"
version = "0.0.3"
version = "0.0.4"
description = "parser for vi like commands"
build = "build.rs"

Expand Down
9 changes: 5 additions & 4 deletions dev/scripts/publish
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ plugins=(
shrs_file_logger
shrs_mux
shrs_output_capture
shrs_rhai
shrs_run_context
)

# for crate in "${crates[@]}"; do
# echo "Publishing $crate"
# cargo publish -p $crate
# done
for crate in "${crates[@]}"; do
echo "Publishing $crate"
cargo publish -p $crate
done

for plugin in "${plugins[@]}"; do
echo "Publishing $plugin"
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/getting-started/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ cd <project-name>
Next, add shrs as a dependency in your `Cargo.toml`. shrs is still currently in pre-release, so there will be frequent updates. You can use the most recently published version with:

```toml
shrs = { version = "0.0.3" }
shrs = { version = "0.0.4" }
```

Otherwise, if you wish to be on the bleeding edge, you can depend directly on the master branch (beware that there may be unexpected bugs and breaking API changes on master):
Expand Down
2 changes: 1 addition & 1 deletion plugins/shrs_analytics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ readme = "README.md"
repository = "https://github.com/MrPicklePinosaur/shrs"

[dependencies]
shrs = { path = "../../crates/shrs", version = "0.0.3" }
shrs = { path = "../../crates/shrs", version = "0.0.4" }
4 changes: 2 additions & 2 deletions plugins/shrs_autocd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_autocd"
version = "0.0.3"
version = "0.0.4"
description = "implement autocd feature present in many shells"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
2 changes: 1 addition & 1 deletion plugins/shrs_autocd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_autocd = { version = "0.0.3" }
shrs_autocd = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_cd_stack/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_cd_stack"
version = "0.0.3"
version = "0.0.4"
description = "maintain stack of past working directories"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
2 changes: 1 addition & 1 deletion plugins/shrs_cd_stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_cd_stack = { version = "0.0.3" }
shrs_cd_stack = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_cd_tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_cd_tools"
version = "0.0.3"
version = "0.0.4"
description = "Variety of utilities for running commands conditionally on directory change"

authors.workspace = true
Expand All @@ -12,7 +12,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }

derive_builder = "0.12"
anymap = "0.12"
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_command_timer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_command_timer"
version = "0.0.3"
version = "0.0.4"
description = "shrs plugin to time how long the previous command took to run"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
2 changes: 1 addition & 1 deletion plugins/shrs_command_timer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_command_timer = { version = "0.0.3" }
shrs_command_timer = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_completion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_completion"
version = "0.0.3"
version = "0.0.4"
description = "More completions for shrs"

authors.workspace = true
Expand All @@ -12,7 +12,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }

ssh2-config = { version = "0.2.3" }
dirs = { version = "5.0" }
Expand Down
33 changes: 33 additions & 0 deletions plugins/shrs_completion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,39 @@

more completions for shrs

[![crates.io](https://img.shields.io/crates/v/shrs_command_timer.svg)](https://crates.io/crates/shrs_completion)
[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](#)

</div>

This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

## Using this plugin

First add this plugin to your dependencies
```toml
shrs_completion = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
```rust
use shrs::prelude::*;
use shrs_completion::completions::*;

fn main() {
let mut mycompleter = DefaultCompleter::default();
ssh_completion(&mut mycompleter);

let myline = LineBuilder::default()
.with_completer(mycompleter)
.build()
.unwrap();

let myshell = ShellBuilder::default()
.with_readline(myline)
.build()
.unwrap();

myshell.run().unwrap();
}
```
4 changes: 2 additions & 2 deletions plugins/shrs_derive_completion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_derive_completion"
version = "0.0.3"
version = "0.0.4"
description = "Specify shell completions from derive macro"

authors.workspace = true
Expand All @@ -19,7 +19,7 @@ name = "tests"
path = "tests/test.rs"

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }

derive_builder = "0.12"

Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_file_logger/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_file_logger"
version = "0.0.3"
version = "0.0.4"
description = ""
readme = "README.md"

Expand All @@ -13,7 +13,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }

log4rs = { version = "1.2" }
log = { version = "0.4" }
2 changes: 1 addition & 1 deletion plugins/shrs_file_logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_file_logger = { version = "0.0.3" }
shrs_file_logger = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_mux/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_mux"
version = "0.0.3"
version = "0.0.4"
description = "shell language multiplexer"
readme = "README.md"

Expand All @@ -13,7 +13,7 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
clap = { version = "4.1", features = ["derive"] }
tokio = { version = "1.35", features = ["full"] }
openssh = { version = "0.10.3" }
2 changes: 1 addition & 1 deletion plugins/shrs_mux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_mux = { version = "0.0.3" }
shrs_mux = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_output_capture/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_output_capture"
version = "0.0.3"
version = "0.0.4"
description = "Capture the previous stdout and stderr output"
readme = "README.md"

Expand All @@ -13,4 +13,4 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
2 changes: 1 addition & 1 deletion plugins/shrs_output_capture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is a plugin for [shrs](https://github.com/MrPicklePinosaur/shrs).

First add this plugin to your dependencies
```toml
shrs_output_capture = { version = "0.0.3" }
shrs_output_capture = { version = "0.0.4" }
```

Then include this plugin when initializing shrs
Expand Down
4 changes: 2 additions & 2 deletions plugins/shrs_rhai/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shrs_rhai"
version = "0.0.3"
version = "0.0.4"
description = "run rhai scripts with shrs context"
readme = "README.md"

Expand All @@ -13,6 +13,6 @@ license.workspace = true
repository.workspace = true

[dependencies]
shrs = { path = "../../crates/shrs", version = "^0.0.3" }
shrs = { path = "../../crates/shrs", version = "^0.0.4" }
rhai = { version = "1.16" }
dirs = { version = "5" }
Loading

0 comments on commit 0dca7e1

Please sign in to comment.