Skip to content

leeian1011/dash-autobahn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DASH-autobahn

An improved version of dsh!
Built with the memory safe Rust :^)

Improvements & Upgrades

  • No hard limit of 5 lanes, unlimited lanes baby!
  • Nickname-able lanes!
  • Powerful list function that allows us to list the directory within a lane!

Todo(s)

  1. all basic functionality from the C-dsh
  2. dasher engine
  3. proper error handling output
  4. help messages

Learning exercise

This project is just to familiarize myself with the intricacies and improve my foundational and fundamental understanding of rust!
I also moved to Linux and porting my MacOS build of the C built dsh has been very eh. I am also not very happy with the functionality of the C dsh and would like to add much more capabilities to it!

Side notes & things I've learned

  • Smart pointers such as Box that allows us to have unknown sized structs at compile time.

  • Very surface level Process and IO management in Rust.

  • Using serde_json as I have to work with JSON files in real life, hoping this would improve my fundamental understanding of using them! (JSON is just object notation its not that deep i know :p)

  • Taking advantage of powerful iterators and traits from the standard library like From<T>.

  • Cool point about PartialEq and comparing String and &str! Using the standard library cmp module is necessary to avoid having /path/to/final being considered == to /path/to.

    if string_var == slice_var {
        //do something
    }
    
    match string_var.cmp(slice_var.to_string()) {
        _ => //do something
    }

About

improved dash and in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages