Add Fermi as dependency

I do not feel good about this ecosystem.
I really, *really* do not like that I have
to use the git version.
I have again looked at the alternatives,
and without just porting to JS (no thanks)
I don't think I have any other choices;
I wasn't happy with Yew's documentation
(I'm not happy with Dioxus' documentation
either, to be fair).
This commit is contained in:
Emilia Allison 2023-05-21 20:34:12 -04:00
parent b97726c297
commit db83921ffd
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
2 changed files with 154 additions and 42 deletions

191
Cargo.lock generated
View File

@ -101,6 +101,15 @@ version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bitmaps"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
dependencies = [
"typenum",
]
[[package]]
name = "blocking"
version = "1.3.1"
@ -141,12 +150,53 @@ dependencies = [
"bumpalo",
]
[[package]]
name = "camino"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c530edf18f37068ac2d977409ed5cd50d53d73bc653c7647b48eb78976ac9ae2"
dependencies = [
"serde",
]
[[package]]
name = "cargo-platform"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
dependencies = [
"serde",
]
[[package]]
name = "cargo_metadata"
version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a"
dependencies = [
"camino",
"cargo-platform",
"semver",
"serde",
"serde_json",
"thiserror",
]
[[package]]
name = "cc"
version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
[[package]]
name = "cfg-expr"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bbc13bf6290a6b202cc3efb36f7ec2b739a80634215630c8053a313edf6abef"
dependencies = [
"smallvec",
]
[[package]]
name = "cfg-if"
version = "1.0.0"
@ -303,22 +353,20 @@ dependencies = [
[[package]]
name = "dioxus"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e24fd50a67f179f801ffe5316357d95c064676661614a38efd8902361dac9ef"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"dioxus-core",
"dioxus-core-macro",
"dioxus-hooks",
"dioxus-hot-reload",
"dioxus-html",
"dioxus-rsx 0.0.3",
"dioxus-rsx",
]
[[package]]
name = "dioxus-core"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e4d15b0bb9c58d015b2295f240600dd76e427758377569fa33783afc295706a"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"bumpalo",
"bumpslab",
@ -336,10 +384,9 @@ dependencies = [
[[package]]
name = "dioxus-core-macro"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8eb3c0de91a0351ed6bb4ea866ce42d461792803b407df35d5a77db8d1e8276"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"dioxus-rsx 0.0.2",
"dioxus-rsx",
"proc-macro2",
"quote",
"syn 1.0.109",
@ -347,9 +394,8 @@ dependencies = [
[[package]]
name = "dioxus-hooks"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1311daf0cd7591ab055ae7dd90860ce69dcfdb11cc09e1deb9c8f208c8ee09a"
version = "0.3.1"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"dioxus-core",
"futures-channel",
@ -359,13 +405,12 @@ dependencies = [
[[package]]
name = "dioxus-hot-reload"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e478ed2d0f70aa51608e8672704e0f35925ddc7ad80a28d255bfe504dd5362bd"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"chrono",
"dioxus-core",
"dioxus-html",
"dioxus-rsx 0.0.3",
"dioxus-rsx",
"execute",
"ignore",
"interprocess",
@ -378,12 +423,11 @@ dependencies = [
[[package]]
name = "dioxus-html"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7682a6615e4e5a460cd3293ce420451abffb719c84c4b54e297b17365f601fb4"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"async-trait",
"dioxus-core",
"dioxus-rsx 0.0.3",
"dioxus-rsx",
"enumset",
"euclid",
"keyboard-types",
@ -397,8 +441,7 @@ dependencies = [
[[package]]
name = "dioxus-interpreter-js"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "360fdd7b22ac8859492efb2fbfd0e380d2208a442896ea54891424a67f984918"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"js-sys",
"sledgehammer_bindgen",
@ -407,28 +450,14 @@ dependencies = [
"web-sys",
]
[[package]]
name = "dioxus-rsx"
version = "0.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42b7fee07fccc5c3fb9b341a0000db47fc4ab0a2a5bf268c71f6f1c9fd3ed598"
dependencies = [
"dioxus-core",
"internment",
"proc-macro2",
"quote",
"serde",
"syn 1.0.109",
]
[[package]]
name = "dioxus-rsx"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8544632e20f462a64f26502c91e7cf6ae3b30d82956e70543644d2c16b6659d"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"dioxus-core",
"internment",
"krates",
"proc-macro2",
"quote",
"serde",
@ -437,11 +466,11 @@ dependencies = [
[[package]]
name = "dioxus-web"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a90cda9fc7992af131b4ce468ea4740669fb18983c209f9b95572e5fea82a57e"
version = "0.3.2"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"anyhow",
"async-trait",
"console_error_panic_hook",
"dioxus-core",
"dioxus-html",
@ -545,6 +574,16 @@ dependencies = [
"instant",
]
[[package]]
name = "fermi"
version = "0.3.0"
source = "git+https://github.com/dioxuslabs/dioxus.git#b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"
dependencies = [
"dioxus-core",
"im-rc",
"log",
]
[[package]]
name = "filetime"
version = "0.2.21"
@ -557,6 +596,12 @@ dependencies = [
"windows-sys 0.48.0",
]
[[package]]
name = "fixedbitset"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "fnv"
version = "1.0.7"
@ -741,6 +786,21 @@ dependencies = [
"winapi-util",
]
[[package]]
name = "im-rc"
version = "15.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af1955a75fa080c677d3972822ec4bad316169ab1cfc6c257a942c2265dbe5fe"
dependencies = [
"bitmaps",
"rand_core",
"rand_xoshiro",
"serde",
"sized-chunks",
"typenum",
"version_check",
]
[[package]]
name = "indexmap"
version = "1.9.3"
@ -862,6 +922,18 @@ dependencies = [
"libc",
]
[[package]]
name = "krates"
version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "942c43a6cba1c201dfe81a943c89fa5c9140b34993e0c027f542c80b92e319a7"
dependencies = [
"cargo_metadata",
"cfg-expr",
"petgraph",
"semver",
]
[[package]]
name = "lazy_static"
version = "1.4.0"
@ -1016,6 +1088,16 @@ dependencies = [
"windows-sys 0.45.0",
]
[[package]]
name = "petgraph"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4"
dependencies = [
"fixedbitset",
"indexmap",
]
[[package]]
name = "pin-project-lite"
version = "0.2.9"
@ -1034,6 +1116,7 @@ version = "0.1.0"
dependencies = [
"dioxus",
"dioxus-web",
"fermi",
"lazy_static",
"log",
"regex",
@ -1058,6 +1141,21 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
[[package]]
name = "rand_xoshiro"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
dependencies = [
"rand_core",
]
[[package]]
name = "redox_syscall"
version = "0.2.16"
@ -1131,6 +1229,9 @@ name = "semver"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed"
dependencies = [
"serde",
]
[[package]]
name = "serde"
@ -1195,6 +1296,16 @@ dependencies = [
"syn 2.0.15",
]
[[package]]
name = "sized-chunks"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16d69225bde7a69b235da73377861095455d298f2b970996eec25ddbb42b3d1e"
dependencies = [
"bitmaps",
"typenum",
]
[[package]]
name = "slab"
version = "0.4.8"
@ -1206,9 +1317,9 @@ dependencies = [
[[package]]
name = "sledgehammer_bindgen"
version = "0.1.3"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b56abc5091d1a0671f24490664b5dfb1f6f73e0c7ac4d0ac01856809a45aa916"
checksum = "147a2ff7338d75d086ba25c3958e3673282b1d986c466532bd7a731fe63e8c5e"
dependencies = [
"quote",
"syn 1.0.109",

View File

@ -6,8 +6,9 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = "0.3.2"
dioxus-web = "0.3.1"
dioxus = { git = "https://github.com/dioxuslabs/dioxus.git" }
dioxus-web = { git = "https://github.com/dioxuslabs/dioxus.git" }
fermi = { git = "https://github.com/dioxuslabs/dioxus" } # Yikes
log = "0.4"
wasm-logger = "0.2"
regex = "1"