Skip to content

Commit

Permalink
-> mum-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
sornas committed Oct 3, 2022
1 parent 658d990 commit fe7f460
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Requirements (package names are for Arch Linux):
Build and install the latest published version:

```sh
$ cargo install mum
$ cargo install mum-cli
```

You can also build and install from source, for example with
Expand Down
2 changes: 1 addition & 1 deletion RELEASE-CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- Make sure everything is commited and published.
- Merge into main: `$ git switch main && git merge --no-ff x.y`.
- Create a tag: `$ git tag vx.y.z`.
- Push both branches and the tag.
- Push main and the tag.
- Create a new release on Github targeting the pushed tag.
- Copy the changelog (change headers to `##`-headers).
- Copy the output of `$ git diff va.b.c..vx.y.z --stat=80` where a.b.c is the
Expand Down
6 changes: 3 additions & 3 deletions mum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mum"
version = "0.5.0"
name = "mum-cli"
version = "0.5.1"
authors = ["Gustav Sörnäs <[email protected]>",
"Eskil Queseth <[email protected]>"]
edition = "2021"
Expand All @@ -18,7 +18,7 @@ notifications = ["libnotify"]
ogg = ["lewton"]

[dependencies]
mumlib = { version = "0.5.0", path = "../mumlib" }
mumlib = { version = "0.5.1", path = "../mumlib" }

bincode = "1.3.3"
bytes = "1.1.0"
Expand Down
6 changes: 3 additions & 3 deletions mum/src/bin/mumd.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use bytes::{BufMut, BytesMut};
use futures_util::{select, FutureExt, SinkExt, StreamExt};
use log::*;
use mum::state::State;
use mum_cli::state::State;
use mumlib::command::{Command, CommandResponse};
use mumlib::setup_logger;
use std::io::ErrorKind;
Expand All @@ -19,7 +19,7 @@ async fn main() {
}

setup_logger(std::io::stderr(), true);
mum::notifications::init();
mum_cli::notifications::init();

// check if another instance is live
let connection = UnixStream::connect(mumlib::SOCKET_PATH).await;
Expand Down Expand Up @@ -63,7 +63,7 @@ async fn main() {
};

let run = select! {
r = mum::client::handle(state, command_receiver).fuse() => r,
r = mum_cli::client::handle(state, command_receiver).fuse() => r,
_ = receive_commands(command_sender).fuse() => Ok(()),
};

Expand Down
2 changes: 1 addition & 1 deletion mumlib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mumlib"
version = "0.5.0"
version = "0.5.1"
authors = ["Gustav Sörnäs <[email protected]>",
"Eskil Queseth <[email protected]>"]
edition = "2021"
Expand Down

0 comments on commit fe7f460

Please sign in to comment.