Skip to content
forked from koute/cargo-web

A Cargo subcommand for the client-side Web

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

bbatha/cargo-web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

A cargo subcommand for the client-side Web

This cargo subcommand aims to make it easy and convenient to build, develop and deploy client-side Web applications written in Rust.

It's currently very early in development; for now it supports the following sub-subcommands:

  • cargo web build - a poor alias for cargo build --target=asmjs-unknown-emscripten
  • cargo web test - automatically runs your tests in a web browser
  • cargo web start - builds the project, starts an embedded webserver and rebuilds as needed

It will also automatically download Emscripten for you (x86_64 Linux only for now).

Other features which are (eventually) planned but are yet not here:

  • Fully headless test running.
  • Feature parity with cargo.
  • Webasm support.
  • Built-in minification.
  • Possibly a bridge into the npm ecosystem to fetch JavaScript libraries.
  • Anything else you might expect from a tool like this (suggestions welcome!).

Installation

$ cargo install cargo-web

To upgrade:

$ cargo install --force cargo-web

Or clone and build with $ cargo build then place in your $PATH.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

A Cargo subcommand for the client-side Web

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%