/rust-toy

just for fun about how to learn rust

Primary LanguageRustApache License 2.0Apache-2.0

Rust-TOY

This repository is just for recording something in Rust.

  • grammer: The basic grammar of Rust
    • variables: It is essential for learning Rust to know how to define variables
    • basic-types: some cases about expression and function
    • control-flow: use Fibonacci sequences to understand while/for/loop and if
    • struct and enum: define a simple message client by struct and enum, also include match mode
    • string: how to use string of CRUD
  • exercise: Some exercises of Rust
    • scrape_url: how to use rust to get a html to markdown
    • httpie: a cli tool for post and get request