Bot releases are hidden (Show)
Published by temeddix 11 months ago
Full Changelog: https://github.com/cunarist/rinf/compare/v4.18.0...v4.19.0
Published by temeddix 11 months ago
null
to the timeout
parameter to wait forever by @temeddix in https://github.com/cunarist/rinf/pull/236
Full Changelog: https://github.com/cunarist/rinf/compare/v4.17.1...v4.18.0
Published by temeddix 11 months ago
Now rinf message --watch
works recursively on Linux too.
Full Changelog: https://github.com/cunarist/rinf/compare/v4.17.0...v4.17.1
Published by temeddix 11 months ago
rinf message [-w|--watch]
command by @bookshiyi in https://github.com/cunarist/rinf/pull/225
Full Changelog: https://github.com/cunarist/rinf/compare/v4.16.3...v4.17.0
Published by temeddix 11 months ago
Published by temeddix 11 months ago
Published by temeddix 12 months ago
rinf template --bridge
commandPublished by temeddix 12 months ago
hub
crate is much cleaner than before. If you already have an app using older Rinf versions, it is recommended to run rinf template --bridge
and add rinf = "4.16.0"
to Cargo.toml
of the hub
crate.Now it's much cleaner to write code and add dependencies inside the hub
crate. web_alias
module was removed and is replaced with the tokio_with_wasm
crate.
native/hub/Cargo.toml
of 4.16.0:
[package]
# Do not change the name of this crate.
name = "hub"
version = "0.1.0"
edition = "2021"
[lib]
# `lib` is required for non-library targets,
# such as tests and benchmarks.
# `cdylib` is for Linux, Android, Windows, and web.
# `staticlib` is for iOS and macOS.
crate-type = ["lib", "cdylib", "staticlib"]
[dependencies]
rinf = "4.16.0"
tokio_with_wasm = "0.3.2"
wasm-bindgen = "0.2.87"
prost = "0.12.0"
sample_crate = { path = "../sample_crate" }
native/hub/Cargo.toml
of 4.15.2:
[package]
# Do not change the name of this crate.
name = "hub"
version = "0.1.0"
edition = "2021"
[lib]
# `lib` is required for non-library targets,
# such as tests and benchmarks.
# `cdylib` is for Linux, Android, Windows, and web.
# `staticlib` is for iOS and macOS.
crate-type = ["lib", "cdylib", "staticlib"]
# These are dependencies for non-web platforms.
[target.'cfg(not(target_family = "wasm"))'.dependencies]
libc = "0.2"
dart-sys = { version = "4.0.2" }
allo-isolate = { version = "0.1.20", features = ["zero-copy"] }
tokio = { version = "1.28.2", features = ["rt-multi-thread", "time"] }
os-thread-local = "0.1.3"
backtrace = "0.3.69"
# These are dependencies for the web.
[target.'cfg(target_family = "wasm")'.dependencies]
wasm-bindgen = { version = "0.2.87" }
wasm-bindgen-futures = "0.4.37"
js-sys = "0.3.64"
web-sys = { version = "0.3.64", features = [
"DedicatedWorkerGlobalScope",
"MessagePort",
"Blob",
"BlobPropertyBag",
"Worker",
"Url",
"BroadcastChannel",
] }
async_wasm_task = "0.2.3"
[dependencies]
bytemuck = "1.11.0"
lazy_static = "1.4.0"
tokio = { version = "1.28.2", features = ["sync", "macros"] }
prost = "0.12.0"
sample_crate = { path = "../sample_crate" }
Published by temeddix 12 months ago
http
instead of https
in the example app.Published by temeddix 12 months ago
reqwest
crate will be disabled when compiling the example app for Android.The reqwest
crate supports all platforms, including web. However, compiling it for Android on Windows can be challenging
due to its dependency on the openssl-sys
crate, which requires the corresponding C library to be installed on the system. Compiling reqwest
for Android is possible with the right system setup, but it's now intentionally disabled in our sample crate to ensure that the example app 'just works'.
Published by temeddix 12 months ago
requestToRust()
. Thanks @cipherchabon!Published by temeddix 12 months ago
Published by temeddix 12 months ago
Published by temeddix 12 months ago
Published by temeddix 12 months ago
rinf wasm
.This is the first version to use automated GitHub publishing workflow to pub.dev
and crates.io
for stable consistency across platforms, as discussed in #192.
Published by temeddix 12 months ago
This is an experimental publication performed by a GitHub workflow.