Skip to content

Commit

Permalink
refactor!: remove tauri::api module
Browse files Browse the repository at this point in the history
ref: #7756
  • Loading branch information
amrbashir committed Sep 21, 2023
1 parent a2021c3 commit 0761cfa
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 50 deletions.
15 changes: 0 additions & 15 deletions core/tauri/src/api/error.rs

This file was deleted.

21 changes: 0 additions & 21 deletions core/tauri/src/api/mod.rs

This file was deleted.

10 changes: 0 additions & 10 deletions core/tauri/src/api/os.rs

This file was deleted.

3 changes: 0 additions & 3 deletions core/tauri/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ pub enum Error {
/// Failed to serialize/deserialize.
#[error("JSON error: {0}")]
Json(#[from] serde_json::Error),
/// Failed to execute tauri API.
#[error("failed to execute API: {0}")]
FailedToExecuteApi(#[from] crate::api::Error),
/// IO error.
#[error("{0}")]
Io(#[from] std::io::Error),
Expand Down
1 change: 0 additions & 1 deletion core/tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ pub use swift_rs;
pub use tauri_macros::mobile_entry_point;
pub use tauri_macros::{command, generate_handler};

pub mod api;
pub(crate) mod app;
pub mod async_runtime;
pub mod command;
Expand Down

0 comments on commit 0761cfa

Please sign in to comment.