Skip to content

Commit

Permalink
adds request logging to desktop app
Browse files Browse the repository at this point in the history
  • Loading branch information
cars10 committed Mar 10, 2024
1 parent b98b91f commit b4228df
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 4 deletions.
98 changes: 95 additions & 3 deletions src-tauri/Cargo.lock

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

3 changes: 2 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ tauri-build = { version = "1", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.5", features = [ "updater", "api-all", "devtools"] }
tauri = { version = "1.5", features = [ "updater", "api-all"] }
fetch_reqwest = { git = "https://github.com/cars10/fetch_reqwest" }
path-clean = "1"
env_logger = "0.11.3"

[features]
# by default Tauri runs in production mode
Expand Down
2 changes: 2 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ async fn fetch_reqwest(resource: String, init: Option<FetchOptions>) -> FetchRes
}

fn main() {
env_logger::init();

let ctx = tauri::generate_context!();

tauri::Builder::default()
Expand Down

0 comments on commit b4228df

Please sign in to comment.