https://github.com/rustacean-sh/rustacean.sh
Rustaceans Network
https://github.com/rustacean-sh/rustacean.sh
cloudflare index rust-lang rustaceans workers
Last synced: 8 days ago
JSON representation
Rustaceans Network
- Host: GitHub
- URL: https://github.com/rustacean-sh/rustacean.sh
- Owner: rustacean-sh
- License: mit
- Created: 2024-12-03T23:51:01.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-13T01:55:06.000Z (9 months ago)
- Last Synced: 2025-04-08T22:22:06.268Z (7 months ago)
- Topics: cloudflare, index, rust-lang, rustaceans, workers
- Language: Rust
- Homepage: https://rustacean.sh
- Size: 88.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
rustacean.sh
Rustaceans Network
## Development
### Running Locally
> [!IMPORTANT]
> Make sure you have gone through the [Prerequisites](#prerequisites) section before
> running the following commands.
This project uses a Client ↔ Server architecture, two process (one for each of these components)
should be runned in order to run the application locally.
Create a terminal session for the client, and run the following command:
```bash
just client
```
Then create another terminal session and navigate to the server crate
```bash
cd crates/server/
```
Install the dependencies using Bun
```bash
bun install
```
and run the following command:
```bash
just server
```
### Prerequisites
1. [Rust](https://rustup.rs)
2. [Bun](https://bun.sh)
3. [Justfile](https://github.com/casey/just) (**optional**)
4. The `wasm32-unknown-unknown` toolchain
5. `worker-build` binary
6. `trunk` binary
### Installation Guides
#### Rust
Rust can be installed by running the following command in your terminal:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```
Then install the `wasm32-unknown-unknown` toolchain by running:
```bash
rustup target add wasm32-unknown-unknown
```
#### Bun
Bun can be installed by running the following command in your terminal:
```bash
curl -fsSL https://bun.sh/install | bash
```
#### Rust Binaries
Justfile can be installed by running the following command in your terminal:
```bash
cargo install just
```
Worker Build can be installed by running the following command in your terminal:
```bash
cargo install worker-build
```
Trunk can be installed by running the following command in your terminal:
```bash
cargo install trunk
```
> Read more here: https://developers.cloudflare.com/workers/languages/rust/