This commit is contained in:
Djkáťo 2024-06-17 22:18:48 +02:00
parent 3bf66a32c1
commit bf03d7a180
4 changed files with 36261 additions and 14 deletions

55
Cargo.lock generated
View file

@ -555,6 +555,17 @@ version = "3.15.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b" checksum = "8ea184aa71bb362a1157c896979544cc23974e08fd265f29ea96b59f0b4a555b"
[[package]]
name = "bus"
version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b7118d0221d84fada881b657c2ddb7cd55108db79c8764c9ee212c0c259b783"
dependencies = [
"crossbeam-channel",
"num_cpus",
"parking_lot_core",
]
[[package]] [[package]]
name = "bytecheck" name = "bytecheck"
version = "0.6.12" version = "0.6.12"
@ -872,6 +883,15 @@ dependencies = [
"cfg-if", "cfg-if",
] ]
[[package]]
name = "crossbeam-channel"
version = "0.5.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2"
dependencies = [
"crossbeam-utils",
]
[[package]] [[package]]
name = "crossbeam-deque" name = "crossbeam-deque"
version = "0.8.5" version = "0.8.5"
@ -2020,9 +2040,9 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c"
[[package]] [[package]]
name = "js-sys" name = "js-sys"
version = "0.3.68" version = "0.3.69"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d"
dependencies = [ dependencies = [
"wasm-bindgen", "wasm-bindgen",
] ]
@ -3419,6 +3439,7 @@ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
"axum", "axum",
"bus",
"dotenvy", "dotenvy",
"envy", "envy",
"http 1.1.0", "http 1.1.0",
@ -3428,12 +3449,16 @@ dependencies = [
"reqwest", "reqwest",
"rust_decimal", "rust_decimal",
"serde", "serde",
"serde-wasm-bindgen",
"serde_json", "serde_json",
"strum 0.26.2", "strum 0.26.2",
"strum_macros 0.26.2", "strum_macros 0.26.2",
"thiserror",
"tracing", "tracing",
"tracing-subscriber", "tracing-subscriber",
"url", "url",
"wasm-bindgen",
"web-sys",
] ]
[[package]] [[package]]
@ -3463,9 +3488,13 @@ dependencies = [
name = "saleor-app-template-ui" name = "saleor-app-template-ui"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow",
"axum", "axum",
"console_error_panic_hook", "console_error_panic_hook",
"cynic",
"cynic-codegen",
"dotenvy", "dotenvy",
"envy",
"http 1.1.0", "http 1.1.0",
"leptos", "leptos",
"leptos_axum", "leptos_axum",
@ -3475,11 +3504,13 @@ dependencies = [
"saleor-app-sdk", "saleor-app-sdk",
"serde", "serde",
"serde_json", "serde_json",
"surf",
"thiserror", "thiserror",
"tokio", "tokio",
"tower", "tower",
"tower-http", "tower-http",
"tracing", "tracing",
"tracing-subscriber",
"wasm-bindgen", "wasm-bindgen",
] ]
@ -3568,9 +3599,9 @@ dependencies = [
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.197" version = "1.0.203"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
@ -3598,9 +3629,9 @@ dependencies = [
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.197" version = "1.0.203"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -4208,18 +4239,18 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "1.0.57" version = "1.0.61"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "1.0.57" version = "1.0.61"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -4913,9 +4944,9 @@ dependencies = [
[[package]] [[package]]
name = "web-sys" name = "web-sys"
version = "0.3.68" version = "0.3.69"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96565907687f7aceb35bc5fc03770a8a0471d82e479f25832f54a0e3f4b28446" checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef"
dependencies = [ dependencies = [
"js-sys", "js-sys",
"wasm-bindgen", "wasm-bindgen",

View file

@ -34,10 +34,19 @@ rust_decimal = { version = "1.35.0", features = ["serde-float"] }
iso_currency = { version = "0.4.4", features = ["with-serde", "iterator"] } iso_currency = { version = "0.4.4", features = ["with-serde", "iterator"] }
pulldown-cmark = "0.11.0" pulldown-cmark = "0.11.0"
http = "1" http = "1"
thiserror = "1" thiserror = "1.0.61"
wasm-bindgen = "=0.2.92" wasm-bindgen = "=0.2.92"
console_error_panic_hook = "0.1" console_error_panic_hook = "0.1"
leptos = { version = "0.6", features = ["nightly"] } leptos = { version = "0.6", features = ["nightly"] }
leptos_axum = { version = "0.6" } leptos_axum = { version = "0.6" }
leptos_meta = { version = "0.6", features = ["nightly"] } leptos_meta = { version = "0.6", features = ["nightly"] }
leptos_router = { version = "0.6", features = ["nightly"] } leptos_router = { version = "0.6", features = ["nightly"] }
web-sys = "0.3.69"
# Defines a size-optimized profile for the WASM bundle in release mode
[profile.wasm-release]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1
panic = "abort"

View file

@ -1,5 +1,5 @@
[toolchain] [toolchain]
channel = "nightly-2024-05-11" channel = "nightly-2024-04-25"
## Toggle to this one for sdk releases ## Toggle to this one for sdk releases
# channel = "stable" # channel = "stable"
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"] targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]

36207
schema.graphql Normal file

File diff suppressed because it is too large Load diff