diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fca2923..7157b1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,9 @@ jobs: - run: rustup default ${{ matrix.rust }} && rustup update ${{ matrix.rust }} + - run: sudo apt-get update + if: ${{ matrix.os == 'ubuntu-latest' }} + - run: sudo apt-get install libgtk-3-dev libasound2-dev if: ${{ matrix.os == 'ubuntu-latest' }} diff --git a/Cargo.toml b/Cargo.toml index 9e84d32..186dfa9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,39 +1,39 @@ [package] edition = "2021" license = "MIT OR Apache-2.0 OR CC0-1.0" -name = "grace" +name = "brace" publish = false rust-version = "1.72" version = "0.1.0" [dependencies] -async-openai = "0.19" +async-openai = "0.21" byteorder = "1" bytes = "1" cpal = "0.15" crossbeam = "0.8" deepgram = {path = "deepgram-rust-sdk"} -eframe = {version = "0.25", default-features = false, features = ["default_fonts", "glow", "persistence"]} -egui = "0.25" # egui_node_graph uses 0.25 -egui_extras = {version = "0.25", features = ["image"]} -egui_node_graph = {git = "https://github.com/trevyn/egui_node_graph", branch = "node-zoom-trevyn"} -ehttp = "0.5" -env_logger = "0.11" -futures = "0.3" -hound = "3" -image = {version = "0.24", default-features = false, features = ["jpeg", "png"]} -log = "0.4" -once_cell = "1" -poll-promise = {version = "0.3", default-features = false} -regex = "1" -reqwest = "0.11" -rfd = "0.14" -serde = {version = "1.0.196", features = ["derive"]} -serde_json = "1" -stream-cancel = "0.8" -tokio = {version = "1", features = ["full"]} -tracked = "0.5" -turbosql = "0.10.0" +eframe = {version = "0.27", default-features = false, features = ["default_fonts", "glow", "persistence"]} +egui = "0.27" # egui_node_graph uses 0.25 +egui_extras = {version = "0.27", features = ["image"]} +# egui_node_graph = {git = "https://github.com/trevyn/egui_node_graph", branch = "node-zoom-trevyn"} +ehttp = "0.5" +env_logger = "0.11" +futures = "0.3" +hound = "3" +image = {version = "0.25", default-features = false, features = ["jpeg", "png"]} +log = "0.4" +once_cell = "1" +poll-promise = {version = "0.3", default-features = false} +regex = "1" +reqwest = "0.12" +rfd = "0.14" +serde = {version = "1.0.196", features = ["derive"]} +serde_json = "1" +stream-cancel = "0.8" +tokio = {version = "1", features = ["full"]} +tracked = "0.5" +turbosql = "0.10.0" # this can be removed when updating to egui 0.26 [target.'cfg(any(target_os = "windows"))'.dependencies] diff --git a/README.md b/README.md index f3554d8..d3e224b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # brace -grace for the brain -orthodontics for the mind +grace for the brain +orthodontics for the mind scaffolding for your garden diff --git a/deepgram-rust-sdk/Cargo.toml b/deepgram-rust-sdk/Cargo.toml index 9342ccd..4d36654 100644 --- a/deepgram-rust-sdk/Cargo.toml +++ b/deepgram-rust-sdk/Cargo.toml @@ -17,7 +17,7 @@ bytes = "1" futures = "0.3" http = "1" pin-project = "1" -reqwest = { version = "0.11.22", default-features = false, features = ["json", "rustls-tls", "stream"] } +reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] } serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "1" diff --git a/src/main.rs b/src/main.rs index 30de096..7b69ccf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -629,7 +629,7 @@ impl eframe::App for App { COMPLETION.lock().unwrap().clear(); if let Some(mut state) = egui::TextEdit::load_state(ctx, id) { let ccursor = egui::text::CCursor::new(entry.content.chars().count()); - state.set_ccursor_range(Some(egui::text::CCursorRange::one(ccursor))); + state.cursor.set_char_range(Some(egui::text::CCursorRange::one(ccursor))); state.store(ctx, id); // ui.ctx().memory().request_focus(text_edit_id); // give focus back to the `TextEdit`. }