* Use tokio UnixListener so the task can yield and release the thread
* use standard unix listener, convert to non blocking and cast into tokio yielding one
* Create fix-yield-single-instance-macos.md
* Update .changes/fix-yield-single-instance-macos.md
Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
* use net feature in Tokio dependency
* Use tokio UnixListener::bind, inside the tokio task
---------
Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
* single-instance: fix `cwd` in single instance on macOS
which was the `cwd` of the first instance, instead of the second how it should be and is on windows and linux.
also add rustfmt.toml to enforce the correct formatting (4 spaces for indent)
* use split_once
* remove rustfmt
* fix indentation
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app>