DEV Community

Discussion on: 9 Steps to Get 100 Stars on GitHub

Collapse
 
jkgan profile image
Gan Jun Kai • Edited

Nice tips! Let me promote some of my projects (and I wish I can reach more people with my works that I work really hard to make):

  • obsidian: A Rust web framework which we aim to make it more developer-friendly (as people always say Rust is hard to learn). It is still on an early stage, and we are discussing about how do we make it become a productivity tool for developers.
  • aion: A friendly Rust utility crate for duration and datetime.
// It allows you to write the duration and datetime like this
2.days(); // Duration for 2 days
2.seconds(); // Duration for 2 seconds
2.hours().from_now(); // Datetime for 2 hours from now
7.days().ago(); // Datetime for 1 week ago
1.weeks().ago(); // Datetime for 1 week ago
Collapse
 
anatolyscherbakov profile image
Anatoly Scherbakov

This is one great DSL to express datetime values! Looks very nice and readable.

Collapse
 
jkgan profile image
Gan Jun Kai

Thanks! This is inspired by Ruby on Rails where in Rails you only need to write 1.day.ago (without parenthesis). It is even english-ish.