dirs-rs VS rust-peg

Compare dirs-rs vs rust-peg and see what are their differences.

dirs-rs

a low-level library that provides config/cache/data paths, following the respective conventions on Linux, macOS and Windows (by dirs-dev)

rust-peg

Parsing Expression Grammar (PEG) parser generator for Rust (by kevinmehall)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dirs-rs rust-peg
3 10
608 1,388
3.1% -
2.9 3.6
about 1 month ago 7 days ago
Rust Rust
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dirs-rs

Posts with mentions or reviews of dirs-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-29.
  • Why the Windows Registry sucks technically (2010)
    6 projects | news.ycombinator.com | 29 Jul 2022
    There are several libraries that handle directory for you in the appropriate OS-specific manner.

    One Rust example being https://github.com/dirs-dev/dirs-rs

    > The library provides the location of these directories by leveraging the mechanisms defined by

    > the XDG base directory and the XDG user directory specifications on Linux and Redox

    > the Known Folder API on Windows

    > the Standard Directories guidelines on macOS

  • Rust 1.62.0 pre-release testing
    2 projects | /r/rust | 28 Jun 2022
    Yes. We have dirs for that, folks!
  • Hey Rustaceans! Got an easy question? Ask here (5/2021)!
    13 projects | /r/rust | 1 Feb 2021
    I'm using dirs to get the home directory. However, dirs::home_dir() returns an Option, which I can't quite grasp how to extract the string from, and the repo doesn't have examples for it either.

rust-peg

Posts with mentions or reviews of rust-peg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.

What are some alternatives?

When comparing dirs-rs and rust-peg you can also consider the following projects:

libsqlfs - a library that implements a POSIX style filesystem on top of an SQLite database

pest - The Elegant Parser

tail - My implementation of the tail tool to (continuously) read the tail end of a file. See https://en.wikipedia.org/wiki/Tail_(Unix)

nom - Rust parser combinator framework

nix-1p - A (more or less) one page introduction to Nix, the language.

lalrpop - LR(1) parser generator for Rust

wedge_of_existence - an ascii game set in a modern world

chomp - A fast monadic-style parser combinator designed to work on stable Rust.

aoc-runner-derive

rust-bison-skeleton - Bison frontend for Rust

nix-book - Nix documentation – centralized community online learning resource for Nix

pom - PEG parser combinators using operator overloading without macros.