Skip to content

Commit

Permalink
version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
ddboline committed Dec 17, 2023
1 parent ce37427 commit 26c8e7b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sync_app_rust"
version = "0.11.6"
version = "0.11.7"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion gdrive_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gdrive_lib"
version = "0.11.6"
version = "0.11.7"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand Down
6 changes: 3 additions & 3 deletions sync_app_http/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sync_app_http"
version = "0.11.6"
version = "0.11.7"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand All @@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
authorized_users = { git = "https://github.com/ddboline/auth_server_rust.git", tag="0.11.4"}
authorized_users = { git = "https://github.com/ddboline/auth_server_rust.git", tag="0.11.5"}
deadqueue = "0.2"
dioxus = "0.4"
dioxus-ssr = "0.4"
Expand All @@ -20,7 +20,7 @@ lazy_static = "1.4"
log = "0.4"
maplit = "1.0"
parking_lot = "0.12"
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.5", features=["deadpool"]}
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.6", features=["deadpool"]}
reqwest = {version="0.11", features=["cookies", "json", "rustls-tls"], default_features=false}
rweb = {git = "https://github.com/ddboline/rweb.git", features=["openapi"], default-features=false, tag="0.15.1-1"}
rweb-helper = { git = "https://github.com/ddboline/rweb_helper.git", tag="0.5.0-1" }
Expand Down
16 changes: 6 additions & 10 deletions sync_app_http/src/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@ use sync_app_lib::models::{FileSyncCache, FileSyncConfig};

pub fn index_body(conf_list: Vec<FileSyncConfig>, entries: Vec<FileSyncCache>) -> String {
let mut app =
VirtualDom::new_with_props(index_element, index_elementProps { conf_list, entries });
VirtualDom::new_with_props(IndexElement, IndexElementProps { conf_list, entries });
drop(app.rebuild());
dioxus_ssr::render(&app)
}

#[component(no_case_check)]
fn index_element(
cx: Scope,
conf_list: Vec<FileSyncConfig>,
entries: Vec<FileSyncCache>,
) -> Element {
#[component]
fn IndexElement(cx: Scope, conf_list: Vec<FileSyncConfig>, entries: Vec<FileSyncCache>) -> Element {
let conf_element = conf_list.iter().enumerate().filter_map(|(idx, v)| {
v.name.as_ref().map(|name| {
rsx! {
Expand Down Expand Up @@ -148,13 +144,13 @@ fn index_element(
}

pub fn text_body(text: StackString) -> String {
let mut app = VirtualDom::new_with_props(text_element, text_elementProps { text });
let mut app = VirtualDom::new_with_props(TextElement, TextElementProps { text });
drop(app.rebuild());
dioxus_ssr::render(&app)
}

#[component(no_case_check)]
fn text_element(cx: Scope, text: StackString) -> Element {
#[component]
fn TextElement(cx: Scope, text: StackString) -> Element {
cx.render(rsx! {
textarea {
autofocus: "true",
Expand Down
6 changes: 3 additions & 3 deletions sync_app_lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sync_app_lib"
version = "0.11.6"
version = "0.11.7"
authors = ["Daniel Boline <[email protected]>"]
edition = "2018"

Expand All @@ -17,7 +17,7 @@ checksums = "0.9"
clap = {version="4.0", features=["derive"]}
crossbeam-utils = "0.8"
deadpool = { version = "0.10", features=["serde", "rt_tokio_1"] }
deadpool-postgres = { version = "0.11", features=["serde"] }
deadpool-postgres = { version = "0.12", features=["serde"] }
derive_more = "0.99"
dirs = "5.0"
dotenv = "0.15"
Expand All @@ -31,7 +31,7 @@ maplit = "1.0"
mime = "0.3"
parking_lot = "0.12"
percent-encoding = "2.1"
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.5", features=["deadpool"]}
postgres_query = {git = "https://github.com/ddboline/rust-postgres-query", tag = "0.3.6", features=["deadpool"]}
postgres-types = {version = "0.2", features = ["with-time-0_3", "with-uuid-1", "with-serde_json-1", "derive"]}
rand = "0.8"
rayon = "1.5"
Expand Down

0 comments on commit 26c8e7b

Please sign in to comment.