Crates.io | cr-tools |
lib.rs | cr-tools |
version | 1.3.1 |
source | src |
created_at | 2021-01-15 19:34:52.843141 |
updated_at | 2021-03-04 17:07:23.540471 |
description | Simple calculator for Clash Royale |
homepage | https://github.com/Bernd-L/cr-tools#readme |
repository | https://github.com/Bernd-L/cr-tools |
max_upload_size | |
id | 342506 |
size | 80,395 |
A simple calculator for Clash Royale
This crate implements both a simple library and a Yew web application.
Check out a live deployment of the main
branch at https://cr-tools.vercel.app.
Since this app is deployed using Vercel, it needs to run a build script to set up the build dependencies. This can be accomplished by running the following command in the repo root: INSTALL_RUST_WASM_DEPS=true ./build.sh
. The script is made for Amazon Linux, and is meant to be run inside of an ephemeral container-like environment.
If your package manager isn't yum, or you don't want to have random dependencies installed to your system, run the following command to build the application directly: trunk build -d public
, or run trunk serve -d public
to run a dev server.
This obviously requires trunk to be installed. To do that run:
cargo install --locked trunk
cargo install wasm-bindgen-cli
After this is installed I'd recommend you use trunk serve -d public
to run the app.
Copyright (c) 2021 Bernd-L. All rights reserved.
cr-tools is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
cr-tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with cr-tools. If not, see https://www.gnu.org/licenses/.
This project (including its source code and its documentation) is released under the terms of the GNU Affero General Public License.
"Clash Royale" may be a trademark of its owner, with which I'm not affiliated with at all.