Files
Mycell-UI/src-tauri/Cargo.toml
syoul 4dd278e62a fix: remove tauri-plugin-log to avoid logger conflict
`tracing_subscriber::fmt().try_init()` installs a global log
implementation via the tracing-log shim. tauri-plugin-log then
calls `log::set_logger()` which panics with "attempted to set a
logger after the logging system was already initialized".

The plugin was never wired in JS code (no @tauri-apps/plugin-log
import) — backend logging via tracing is sufficient. Drop:
  - tauri-plugin-log dep + plugin registration
  - log:default capability permission
  - @tauri-apps/plugin-log JS dep

Verified: cargo check is clean, app starts past the panic.
2026-04-25 23:35:34 +02:00

33 lines
846 B
TOML

[package]
name = "mycellium-ui"
version = "0.1.0"
description = "Mycelium overlay network desktop client"
authors = ["syoul"]
edition = "2021"
rust-version = "1.77"
[lib]
name = "mycellium_ui_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-shell = "2"
tauri-plugin-store = "2"
tauri-plugin-dialog = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
thiserror = "2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
portpicker = "0.1"
parking_lot = "0.12"
[features]
custom-protocol = ["tauri/custom-protocol"]