Profile bindings (#55)

* basic framework. still has errors

* added functionality for main endpoints + some structuring

* formatting

* unused code

* mimicked CLI function with wait_for process

* made PR changes, added playground

* cargo fmt

* removed missed println

* misc tests fixes

* cargo fmt

* added windows support

* cargo fmt

* all OS use dunce

* restructured profile slightly; fixed mac bug

* profile changes, new main.rs

* fixed requested pr + canonicaliation bug

* fixed regressed bug in ui

* fixed regressed bugs

* fixed git error

* typo

* ran prettier

* clippy

* playground clippy

* ported profile loading fix

* profile change for real, url println and clippy

* PR changes

---------

Co-authored-by: Wyatt <wyatt@modrinth.com>
This commit is contained in:
Wyatt Verchere
2023-03-31 11:00:43 -07:00
committed by GitHub
parent 24ba986cf1
commit f48959a816
30 changed files with 857 additions and 80 deletions

27
Cargo.lock generated
View File

@@ -3531,6 +3531,7 @@ dependencies = [
"sys-info",
"thiserror",
"tokio",
"tokio-stream",
"toml 0.7.3",
"tracing",
"tracing-error",
@@ -3549,6 +3550,7 @@ dependencies = [
"daedalus",
"dialoguer",
"dirs",
"dunce",
"eyre",
"futures",
"paris",
@@ -3563,16 +3565,41 @@ dependencies = [
"url",
"uuid 1.3.0",
"webbrowser",
"winreg 0.11.0",
]
[[package]]
name = "theseus_gui"
version = "0.0.0"
dependencies = [
"daedalus",
"futures",
"serde",
"serde_json",
"tauri",
"tauri-build",
"theseus",
"thiserror",
"tokio",
"tokio-stream",
]
[[package]]
name = "theseus_playground"
version = "0.1.0"
dependencies = [
"daedalus",
"dunce",
"futures",
"serde",
"serde_json",
"tauri",
"theseus",
"thiserror",
"tokio",
"tokio-stream",
"url",
"webbrowser",
]
[[package]]