feat: update swift-rs (#285)

* feat: update swift-rs

* swift-rs v1

* pin deps
This commit is contained in:
Lucas Fernandes Nogueira
2023-03-16 09:36:31 -03:00
committed by GitHub
parent 961602bd1b
commit 539c38a692
4 changed files with 19 additions and 18 deletions
+3 -3
View File
@@ -23,9 +23,9 @@ use tauri::{
pub use fern;
#[cfg(target_os = "ios")]
extern "C" {
fn tauri_log(level: u8, message: &swift_rs::SRString);
}
swift_rs::swift!(fn tauri_log(
level: u8, message: &swift_rs::SRString
));
const DEFAULT_MAX_FILE_SIZE: u128 = 40000;
const DEFAULT_ROTATION_STRATEGY: RotationStrategy = RotationStrategy::KeepOne;