Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kent-3 committed Aug 27, 2024
1 parent 5a6eaaa commit 3e7001a
Show file tree
Hide file tree
Showing 12 changed files with 322 additions and 327 deletions.
311 changes: 160 additions & 151 deletions Cargo.lock

Large diffs are not rendered by default.

55 changes: 23 additions & 32 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
target = "wasm32-unknown-unknown"

[profile.dev]
# Potential to opt-in on higher optimization for our code. This may increase incremental compilation times, but will reduce binaty size.
# Potential to opt-in on higher optimization for our code. This may increase incremental compilation times, but will reduce binary size.
opt-level = 0
[profile.dev.package."*"]
# High optimization for our dependencies. This should increase performance drastically whithout hitting our incremental compilation times.
Expand All @@ -22,68 +22,59 @@ strip = true
codegen-units = 1

[build-dependencies]
git2 = "0.19.0"
git2 = "0.19"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
serde_json = "1.0"

[dependencies]
# Leptos official
leptos = { version = "0.7.0-beta", git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", features = [
"csr",
"nightly",
] }
leptos_router = { version = "0.7.0-beta", git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7", features = [
"nightly",
] }
leptos = { version = "0.7.0-beta2", features = ["csr", "nightly"] }
leptos_router = { version = "0.7.0-beta2", features = ["nightly"] }
leptos_router_macro = { version = "0.7.0-beta" }
leptos_meta = { version = "0.7.0-beta", git = "https://github.com/leptos-rs/leptos", branch = "leptos_0.7" }
leptos_meta = { version = "0.7.0-beta3" }

# Leptos extenstions and related
# Leptos extensions and related
# leptos-use = { git = "https://github.com/Synphonyte/leptos-use.git", branch = "leptos-0.7" }
# leptonic = { git = "https://github.com/lpotthast/leptonic.git", branch = "main" }
# thaw = { version = "0.4.0-alpha", git = "https://github.com/thaw-ui/thaw.git", branch = "thaw/fluent", features = [
# "csr",
# "nightly",
# ] }
codee = { version = "0.1", features = [
"json_serde",
"msgpack_serde",
"base64",
"prost",
] }
# leptonic = { git = "https://github.com/lpotthast/leptonic.git", branch = "main" }
# thaw = { version = "0.4.0-alpha", git = "https://github.com/thaw-ui/thaw.git", branch = "thaw/fluent", features = [
# "csr",
# "nightly",
# ] }

# gRPC
tonic = { version = "0.11.0", default-features = false }

# Web support
console_error_panic_hook = "0.1.7"
js-sys = "0.3"
web-sys = "0.3"
# gloo-net = "0.6"
# gloo-storage = "0.3"

# Wasm support
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
send_wrapper = { version = "0.6.0", features = ["futures"] }
serde-wasm-bindgen = "0.6"
tonic-web-wasm-client = "0.5.1"
send_wrapper = { version = "0.6.0", features = ["futures"] }
# gloo-net = "0.6"
# gloo-storage = "0.3"

# Classic
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
futures = "0.3"
serde = { version = "1.0.208", features = ["derive"] }
serde_json = "1.0.125"
base64 = "0.22.1"
futures = "0.3.20"
async-trait = "0.1.81"
thiserror = "1.0"
thiserror = "1.0.63"

# Logging
tracing = "0.1.40"
tracing-subscriber = "0.3"
tracing-subscriber-wasm = "0.1"
tracing-subscriber = "0.3.18"
tracing-subscriber-wasm = "0.1.0"

# Secret
keplr-sys = "0.0.1"
secret-toolkit-snip20 = { version = "0.10.0" }
secretrs = { version = "0.1" }
secretrs = { version = "0.1.0" }
rsecret = { path = "../secret-clients/rsecret" }
10 changes: 5 additions & 5 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@



<script type="module" nonce="ydiXOQ6v5usj8/ApZVxevw==">
import init, * as bindings from 'https://kent-3.github.io/secret-leptos/secret-leptos-9957b2febbac0ce5.js';
const wasm = await init('https://kent-3.github.io/secret-leptos/secret-leptos-9957b2febbac0ce5_bg.wasm');
<script type="module" nonce="IWQnhz/uMB+cBgpcCC3LOw==">
import init, * as bindings from 'https://kent-3.github.io/secret-leptos/secret-leptos-a5dd69ed9ffcc508.js';
const wasm = await init('https://kent-3.github.io/secret-leptos/secret-leptos-a5dd69ed9ffcc508_bg.wasm');


window.wasmBindings = bindings;
Expand Down Expand Up @@ -44,8 +44,8 @@
});
</script>

<link rel="modulepreload" href="https://kent-3.github.io/secret-leptos/secret-leptos-9957b2febbac0ce5.js" crossorigin=anonymous integrity="sha384-EnTBEpNO5w62QltI1nRzkDpvJG3aiSeSRo6yIn7HShoUgBzOhco+lkvS5Njuzl8n">
<link rel="preload" href="https://kent-3.github.io/secret-leptos/secret-leptos-9957b2febbac0ce5_bg.wasm" crossorigin=anonymous integrity="sha384-FxeYvEMJaSo1lqSfbikkvpGUf+ge7CR8DFqmELzYs32+1PO+LUZbe+/bzzkEfADE" as="fetch" type="application/wasm"></head>
<link rel="modulepreload" href="https://kent-3.github.io/secret-leptos/secret-leptos-a5dd69ed9ffcc508.js" crossorigin=anonymous integrity="sha384-zhlEQqH6eF0nbSlHc7KmZrVhyQZ9h8uQB6dzHszZPfQa+aS+D7m5xiUwXkgicEDH">
<link rel="preload" href="https://kent-3.github.io/secret-leptos/secret-leptos-a5dd69ed9ffcc508_bg.wasm" crossorigin=anonymous integrity="sha384-NyBCbL+tbXMZm8ihGgj4nKI0FnGAilKRnmZRfDHcwqGj6qQqUr3wFIYuqOHeM0aH" as="fetch" type="application/wasm"></head>

<style>
.spinner {
Expand Down
Binary file removed dist/secret-leptos-9957b2febbac0ce5_bg.wasm
Binary file not shown.
Loading

0 comments on commit 3e7001a

Please sign in to comment.