Basic Rust-only template for your new Seed app.
You can use cargo generate to use this template.
$ cargo generate --git https://github.com/seed-rs/seed-quickstart.git --name my-project
$ cd my-project
Alternatively, simply click on the green button Use this template on the GitHub profile of this quickstart.
Make sure Git doesn't automatically convert your newlines to CRLF because linters don't like it.
$ git config --global core.autocrlf
in your terminal and it should return input
or false
. See Git docs for more info.Clone your new repository to your local machine. I use GitKraken, but you are probably a better developer than me - use your favorite terminal.
Make sure you have basic tools installed:
$ rustc -V
=> rustc 1.43.1 (8d69840ab 2020-05-04)
$ cargo make -V
=> cargo-make 0.30.7
$ cargo install cargo-make
Platform-specific tools like ssl
and pkg-config
:
cargo make serve
cargo make watch
README.md
and Cargo.toml
as you wish./src/lib.rs
or /index.html
).cargo make watch
.cargo make serve
.cargo make verify
in your terminal to format and lint the code.cargo make build_release
.index.html
and pkg
into your server's public folder.
# netlify.toml
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
!!! New Rust-only quickstart in development! => Seeder !!!