Commit f04a6c08 authored by Florian Blasius's avatar Florian Blasius 🤘
Browse files

Restructure examples. Readme update. Image, Text for wasm. Cargo flags.

parent d7d02ce0
Pipeline #2293 failed with stage
in 4 minutes and 47 seconds
No preview for this file type
......@@ -16,4 +16,7 @@
#.vscode
# Brainstorming files
brain_*.rs
\ No newline at end of file
brain_*.rs
debug/
target/
.rustc_info.json
\ No newline at end of file
......@@ -8,9 +8,9 @@
"type": "lldb",
"request": "launch",
"name": "Debug minimal",
"program": "${workspaceFolder}/target/debug/examples/minimal",
"program": "${workspaceFolder}/examples/target/debug/minimal",
"cwd": "${workspaceFolder}",
"preLaunchTask": "build",
"preLaunchTask": "build-minimal",
"sourceLanguages": [
"rust"
]
......@@ -19,9 +19,9 @@
"type": "lldb",
"request": "launch",
"name": "Debug drawing",
"program": "${workspaceFolder}/target/debug/examples/drawing",
"program": "${workspaceFolder}/examples/target/debug/drawing",
"cwd": "${workspaceFolder}",
"preLaunchTask": "build",
"preLaunchTask": "build-drawing",
"sourceLanguages": [
"rust"
]
......
......@@ -4,12 +4,35 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"label": "build-minimal",
"command": "cargo",
"type": "shell",
"args": [
"build",
"--examples=minimal"
"--manifest-path",
"examples/Cargo.toml",
"--bin",
"minimal"
],
"presentation": {
"reveal": "always",
"panel": "new",
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build-drawing",
"command": "cargo",
"type": "shell",
"args": [
"build",
"--manifest-path",
"examples/Cargo.toml",
"--bin",
"drawing"
],
"presentation": {
"reveal": "always",
......
......@@ -73,6 +73,11 @@ dependencies = [
"libc 0.2.45 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "base-x"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "binary-space-partition"
version = "0.1.2"
......@@ -268,6 +273,11 @@ dependencies = [
"generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "discard"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "dlib"
version = "0.4.1"
......@@ -454,6 +464,11 @@ dependencies = [
"x11-dl 2.18.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "itoa"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "khronos_api"
version = "2.2.0"
......@@ -639,7 +654,7 @@ dependencies = [
"glium 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)",
"glutin 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)",
"orbclient 0.3.19 (git+https://gitlab.redox-os.org/redox-os/orbclient.git)",
"time 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
"stdweb 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)",
"webrender 0.57.2 (git+https://github.com/servo/webrender.git)",
"winit 0.18.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
......@@ -889,6 +904,11 @@ dependencies = [
"stb_truetype 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "ryu"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "same-file"
version = "1.0.4"
......@@ -962,6 +982,16 @@ dependencies = [
"syn 0.15.23 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "serde_json"
version = "1.0.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
"ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "servo-freetype-sys"
version = "4.0.5"
......@@ -971,6 +1001,11 @@ dependencies = [
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "sha1"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "sha2"
version = "0.7.1"
......@@ -1046,6 +1081,52 @@ dependencies = [
"byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "stdweb"
version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"discard 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)",
"stdweb-derive 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"stdweb-internal-macros 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
"stdweb-internal-runtime 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "stdweb-derive"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.15.23 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "stdweb-internal-macros"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"base-x 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 0.4.24 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)",
"sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.15.23 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "stdweb-internal-runtime"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "syn"
version = "0.15.23"
......@@ -1222,7 +1303,7 @@ dependencies = [
[[package]]
name = "webrender"
version = "0.57.2"
source = "git+https://github.com/servo/webrender.git#57379d1fec269ea70cbab28d4353614fd9c58122"
source = "git+https://github.com/servo/webrender.git#6bdd0d26afe3fc5a24f10c19d4ca8569d0182a37"
dependencies = [
"app_units 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1251,7 +1332,7 @@ dependencies = [
[[package]]
name = "webrender_api"
version = "0.57.2"
source = "git+https://github.com/servo/webrender.git#57379d1fec269ea70cbab28d4353614fd9c58122"
source = "git+https://github.com/servo/webrender.git#6bdd0d26afe3fc5a24f10c19d4ca8569d0182a37"
dependencies = [
"app_units 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
......@@ -1374,6 +1455,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum autocfg 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4e5f34df7a019573fb8bdc7e24a2bfebe51a2a1d6bfdbaeccedb3c41fc574727"
"checksum backtrace 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)" = "b5b493b66e03090ebc4343eb02f94ff944e0cbc9ac6571491d170ba026741eb5"
"checksum backtrace-sys 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "3fcce89e5ad5c8949caa9434501f7b55415b3e7ad5270cb88c75a8d35e8f1279"
"checksum base-x 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "5cda5d0f5584d129112ad8bf4775b9fd2b9f1e30738c7b1a25314ba2244d6a51"
"checksum binary-space-partition 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "88ceb0d16c4fd0e42876e298d7d3ce3780dd9ebdcbe4199816a32c77e08597ff"
"checksum bincode 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9f2fb9e29e72fd6bc12071533d5dc7664cb01480c59406f656d7ac25c7bd8ff7"
"checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d"
......@@ -1398,6 +1480,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150"
"checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9"
"checksum digest 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "03b072242a8cbaf9c145665af9d250c59af3b958f83ed6824e13533cf76d5b90"
"checksum discard 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
"checksum dlib 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "77e51249a9d823a4cb79e3eca6dcd756153e8ed0157b6c04775d04bf1b13b76a"
"checksum downcast-rs 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "18df8ce4470c189d18aa926022da57544f31e154631eb4cfe796aea97051fe6c"
"checksum dwrote 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f0beca78470f26189a662e72afe7a54c625b4feb06b2d36c207ac15319bd57c5"
......@@ -1418,6 +1501,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum glium 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6ec8f9506ee0379c931299f280a6e06767b0dc6ac0f1890cf1cb6c30d600fca5"
"checksum glutin 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a70c5fe78efbd5a3b243a804ea1032053c584510f8822819f94cfb29b2100317"
"checksum glutin 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)" = "535c6eda58adbb227604b2db10a022ffd6339d7ea3e970f338e7d98aeb24fcc3"
"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
"checksum khronos_api 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "037ab472c33f67b5fbd3e9163a2645319e5356fcd355efa6d4eb7fff4bbcb554"
"checksum khronos_api 3.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "62237e6d326bd5871cd21469323bf096de81f1618cd82cbaf5d87825335aeb49"
"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
......@@ -1469,6 +1553,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum rustc-demangle 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "01b90379b8664dd83460d59bdc5dd1fd3172b8913788db483ed1325171eab2f7"
"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
"checksum rusttype 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "436c67ae0d0d24f14e1177c3ed96780ee16db82b405f0fba1bb80b46c9a30625"
"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7"
"checksum same-file 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8f20c4be53a8a1ff4c1f1b2bd14570d2f634628709752f0702ecdd2b3f9a5267"
"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
"checksum sdl2 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a74c2a98a354b20713b90cce70aef9e927e46110d1bc4ef728fd74e0d53eba60"
......@@ -1478,7 +1563,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)" = "15c141fc7027dd265a47c090bf864cf62b42c4d228bbcf4e51a0c9e2b0d3f7ef"
"checksum serde_bytes 0.10.4 (registry+https://github.com/rust-lang/crates.io-index)" = "adb6e51a6b3696b301bc221d785f898b4457c619b51d7ce195a6d20baecb37b3"
"checksum serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)" = "225de307c6302bec3898c51ca302fc94a7a1697ef0845fcee6448f33c032249c"
"checksum serde_json 1.0.33 (registry+https://github.com/rust-lang/crates.io-index)" = "c37ccd6be3ed1fdf419ee848f7c758eb31b054d7cd3ae3600e3bae0adf569811"
"checksum servo-freetype-sys 4.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "2c4ccb6d0d32d277d3ef7dea86203d8210945eb7a45fba89dd445b3595dd0dfc"
"checksum sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d"
"checksum sha2 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9eb6be24e4c23a84d7184280d2722f7f2731fcdd4a9d886efbfe4413e4847ea0"
"checksum shared_library 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "5a9e7e0f2bfae24d8a5b5a66c5b257a83c7412304311512a0c054cd5e619da11"
"checksum smallvec 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b73ea3738b47563803ef814925e69be00799a8c07420be8b996f8e98fb2336db"
......@@ -1486,6 +1573,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum smithay-client-toolkit 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "4bfd1c912756e610ab598d60fb16adeb3b6745ac0b0a4a2cc1a6b9fa88111409"
"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
"checksum stb_truetype 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "71a7d260b43b6129a22dc341be18a231044ca67a48b7e32625f380cc5ec9ad70"
"checksum stdweb 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "b84f9c829ef7d2e6abf1965393b231c0fd495f0293d612f32dbadd637e91fd0d"
"checksum stdweb-derive 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0e21ebd9179de08f2300a65454268a17ea3de204627458588c84319c4def3930"
"checksum stdweb-internal-macros 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "d60e306bddd5d213f86f7b417b6cdcefbf742917414ac9dda6e9750ef4553dce"
"checksum stdweb-internal-runtime 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a2a2f4a2eb556337b2d1a302630bbddf989ae383c70393e89b48152b9896cbda"
"checksum syn 0.15.23 (registry+https://github.com/rust-lang/crates.io-index)" = "9545a6a093a3f0bd59adb472700acc08cad3776f860f16a897dfce8c88721cbc"
"checksum tempfile 3.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "7e91405c14320e5c79b3d148e1c86f40749a36e490642202a31689cb1a3452b2"
"checksum thread_profiler 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "5920e77802b177479ab5795767fa48e68f61b2f516c2ac0041e2978dd8efe483"
......
......@@ -4,19 +4,14 @@ version = "0.1.0"
authors = ["Florian Blasius <flovanpt@posteo.de>"]
edition = "2018"
[target.'cfg(all(not(feature="orbclient")))'.dependencies]
[target.'cfg(target_arch = "wasm32")'.dependencies]
stdweb = "0.4.12"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
winit = "0.18"
glutin = "0.19"
gleam = "0.6.8"
glium = "0.22.0"
euclid = "0.19"
webrender = { git = "https://github.com/servo/webrender.git" }
# [target.'cfg(all(feature="orbclient"))'.dependencies]
orbclient = { git = "https://gitlab.redox-os.org/redox-os/orbclient.git" }
[dependencies]
time = "*"
#[cfg(feature = "foo")]
# stdweb = "0.4.12"
\ No newline at end of file
orbclient = { git = "https://gitlab.redox-os.org/redox-os/orbclient.git" }
\ No newline at end of file
......@@ -21,7 +21,6 @@ The aim of OrbRender is to provide an uniform API for window creation, window dr
* Android
* iOS
## Usage
To include OrbRender in your project, just add the dependency
......@@ -31,14 +30,42 @@ line to your `Cargo.toml` file:
orbrender = { git = https://gitlab.redox-os.org/FloVanGH/orbrender.git }
```
## Additional Examples
## Web setup
To run the examples on a browser you have to install
```text
cargo install -f cargo-web
```
## Examples
You find the examples in the `examples/` directory.
You can start the minimal example by executing the following command:
To start an example enter its directory and start it with:
```text
cargo run --release
```
To start an example enter its directory and start it with:
* Compile to [WebAssembly](https://en.wikipedia.org/wiki/WebAssembly) using Rust's native WebAssembly backend:
```text
cargo web start --target=wasm32-unknown-unknown
```
* Compile to [asm.js](https://en.wikipedia.org/wiki/Asm.js) using Emscripten:
```text
$ cargo web start --target=asmjs-unknown-emscripten
```
* Compile to WebAssembly using Emscripten:
```text
cargo run --example minimal --release
$ cargo web start --target=wasm32-unknown-emscripten
```
## Build and run documenation
......
This diff is collapsed.
[workspace]
members = ["drawing", "minimal"]
[package]
name = "drawing"
version = "0.1.0"
authors = ["Florian Blasius <flovanpt@posteo.de>"]
edition = "2018"
[dependencies]
stdweb = "0.4.12"
time = "0.1.41"
orbrender = { path = "../.." }
\ No newline at end of file
use orbrender;
use orbrender::prelude::*;
use time::PreciseTime;
......@@ -5,7 +6,6 @@ fn main() {
let mut window = WindowBuilder::new()
.with_title("OrbRender - drawing example")
.with_size(Size::new(800.0, 600.0))
// .with_background(Color::rgb(255, 255, 10))
.build();
window.push_rectangle(
......@@ -45,15 +45,33 @@ fn main() {
.with_background(Color::rgb(100, 100, 100)),
);
window.push_text(
Text::default()
.with_text("OrbRender")
.with_position(Point::new(10.0, 80.0))
.with_foreground(Color::rgb(100, 100, 100))
.with_font(FontConfig::default().with_family("Roboto").with_size(22.0))
);
window.push_image(
Image::default()
.with_position(Point::new(10.0, 100.0))
.with_source("res/orbtk-space.png")
);
// let mut draw = false;
let mut running = true;
let mut update = true;
loop {
if !running {
break;
}
// let start = PreciseTime::now();
window.render();
if update {
window.render();
update = false;
}
for event in window.events() {
match event {
......
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>OrbRender - drawing example</title>
<style>
* {
padding: 0;
margin: 0;
}
canvas {
display: block;
margin: 0;
}
</style>
</head>
<body>
<canvas id="canvas" width="800", height="600"></canvas>
<script src="drawing.js"></script>
</body>
</html>
\ No newline at end of file
use orbrender::prelude::*;
fn main() {
let mut window = WindowBuilder::new()
.with_title("OrbRender - minimal example")
.with_size(Size::new(800.0, 600.0))
.build();
loop {
window.render();
}
}
[package]
name = "minimal"
version = "0.1.0"
authors = ["Florian Blasius <flovanpt@posteo.de>"]
edition = "2018"
[dependencies]
orbrender = { path ="../.." }
\ No newline at end of file
use orbrender::prelude::*;
fn main() {
let mut window = WindowBuilder::new()
.with_title("OrbRender - minimal example")
.with_size(Size::new(800.0, 600.0))
.build();
let mut running = true;
let mut update = true;
loop {
if !running {
break;
}
// let start = PreciseTime::now();
if update {
window.render();
update = false;
}
for event in window.events() {
match event {
Event::System(system_event) => match system_event {
SystemEvent::Quit => {
running = false;
}
_ => {}
},
_ => {}
}
}
}
}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>OrbRender - minimal example</title>
<style>
* {
padding: 0;
margin: 0;
}
canvas {
background: #eee;
display: block;
margin: 0 auto;
}
</style>
</head>
<body>
<canvas id="canvas" width="800", height="600"></canvas>
<script src="minimal.js"></script>
</body>
</html>
\ No newline at end of file
#[cfg(target_arch = "wasm32")]
pub use self::stdweb::{build_window, initialize};
pub use self::webrender::build_window;
#[cfg(target_arch = "wasm32")]
mod stdweb;
mod webrender;
#[cfg(not(target_arch = "wasm32"))]
pub use self::orbclient::{build_window, initialize};
// pub use self::stdweb::build_window;
// mod stdweb;
// pub use self::orbclient::build_window;
// mod orbclient;
\ No newline at end of file
#[cfg(not(target_arch = "wasm32"))]
mod orbclient;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment