added bacon
This commit is contained in:
parent
817b9af1f7
commit
c1d8cc4b80
2 changed files with 7 additions and 8 deletions
|
@ -16,11 +16,13 @@ pkgs.mkShell {
|
|||
sqliteman
|
||||
pkg-config
|
||||
alsa-lib
|
||||
rust-analyzer
|
||||
];
|
||||
|
||||
RUST_BACKTRACE = 1;
|
||||
|
||||
shellHook = ''
|
||||
alias gust=/home/nixolas/Documents/Gust/target/debug/gust
|
||||
shellHook = ''
|
||||
cargo install --locked bacon
|
||||
export PATH=$HOME/.cargo/bin:$PATH
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
use clap::{Parser, ValueEnum};
|
||||
use message_types::{itemtag_to_partial, PartialTag, ServerResponse, UIRequest};
|
||||
use serde_json;
|
||||
use table_print::Table;
|
||||
ut::Table;
|
||||
use termsize;
|
||||
use tungstenite::{connect, Message};
|
||||
use url::Url;
|
||||
|
@ -57,7 +54,7 @@ struct CliArgs {
|
|||
fn main() {
|
||||
let cli = CliArgs::parse();
|
||||
|
||||
let (mut socket, _resp) = connect(
|
||||
let (mut socket, _resp) = connect(
|
||||
Url::parse(format!("ws://{}:{}", cli.hostname.unwrap(), cli.port.unwrap()).as_str())
|
||||
.unwrap(),
|
||||
)
|
||||
|
@ -222,4 +219,4 @@ impl ServerResponse {
|
|||
fn test_partialtag() {
|
||||
let partial_tag = parse_to_partialtag("title".to_string(), "Rocker Song".to_string()).unwrap();
|
||||
assert_eq!(partial_tag.title, Some("Rocker Song".to_string()))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue