refactor: crates/echoed -> echoed

This commit is contained in:
newt 2024-11-11 15:48:31 +00:00
parent 9d247c76d5
commit 15bb4f6995
13 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
[workspace]
resolver = "2"
default-members = ["crates/echoed"]
members = ["crates/*"]
default-members = ["echoed"]
members = ["crates/*", "echoed"]

View file

@ -16,10 +16,10 @@ paste = "1.0.15"
ratatui = "0.29.0"
regex = "1.11.1"
reqwest = { version = "0.12.9", features = ["cookies", "json", "multipart"] }
reqwest_cookie_store = { path = "../reqwest_cookie_store_tokio" }
reqwest_cookie_store = { path = "../crates/reqwest_cookie_store_tokio" }
serde_cbor = "0.11.2"
thiserror = "1.0.66"
tokio = { version = "1.41.1", default-features = false, features = ["macros", "rt-multi-thread"] }
tui-textarea = "0.7.0"
tui_confirm_dialog = { path = "../tui-confirm-dialog" }
tui_confirm_dialog = { path = "../crates/tui-confirm-dialog" }
url = "2.5.3"

View file

@ -52,7 +52,7 @@ impl View for Courses {
Ok(())
}
fn draw(&self, frame: &mut Frame, state: &State) {
fn draw(&self, frame: &mut Frame, _state: &State) {
// let user = state.echo_user.as_ref().unwrap();
if let Some(x) = self.courses.first() {
frame.render_widget(Line::raw(x.name.to_string()), frame.area());
@ -61,8 +61,8 @@ impl View for Courses {
async fn keypress(
&mut self,
key: KeyEvent,
state: &mut State,
_key: KeyEvent,
_state: &mut State,
_command_tx: &ViewSender,
) -> Result<()> {
Ok(())