Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#419·awesome-rust

Change format for list entries

Author: memoryruinsCreated Feb 21, 2018Updated Feb 21, 2018

As awesome-rust grows, there are a few tweaks that may improve readability, consistency, and load times. Before making changes en masse, it would be great to hear anyone's thoughts and a green light from maintainers.

  • e.g current format (for half the current list. currently, not all entries include links to crates)
    • kbknapp/clap-rs [clap] — a simple to use, full featured command-line argument parser
    • docopt/docopt.rs [docopt] — a Rust implementation of DocOpt
    • TeXitoi/structopt [structopt] — parse command line argument by defining a struct
    • killercup/quicli [quicli] — quickly build cool CLI apps in Rust
  • proposed changes
    • present the name of the project/library first, which brings it closer to the name used in a cargo.toml in many cases. keep it linked to the repository.
    • remove build passing icon. the page makes many requests to travis for badge SVGs. especially from a slower connection, the loading of the badges move the page as they affect the vertical spacing of the lists. if a user jumps or scrolls to the bottom of the page upon opening, they may need to wait before the page stays still. this change loses a nice splash of color the list, but reduces load times and prevents the unaligned badges slowing and littering the page.
    • move crates links a sub-list. this gives the description breathing room and allows us to include additional information/links on the sub-list, e.g. a direct link to the docs.
  • proposed format
    • clap — a simple to use, full featured command-line argument parser.
      • crates.io - docs
    • docopt — a Rust implementation of DocOpt.
      • crates.io - docs
    • structopt — parse command line argument by defining a struct.
      • crates.io - docs
    • quicli — quickly build cool CLI apps in Rust.
      • crates.io - docs
  • a simpler alternative
    • clap — a simple to use, full featured command-line argument parser.
    • docopt — a Rust implementation of DocOpt.
    • structopt — parse command line argument by defining a struct.
    • quicli — quickly build cool CLI apps in Rust.

Source: rust-unofficial/awesome-rust

View original on GitHubView discussion on GitHub