17 releases (7 stable)

1.3.1 Mar 4, 2021
1.2.0 Feb 19, 2021
0.5.0 Jan 25, 2021

#235 in Build Utils

AGPL-3.0-or-later

45KB
966 lines

cr-tools

dependency status

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.

Build process

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.

AGPL v3: Free as in Freedom

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.

Dependencies

~6.5MB
~119K SLoC