1. 01 Jan, 2021 1 commit
  2. 31 Dec, 2020 7 commits
  3. 06 Sep, 2020 1 commit
    • SamwiseFilmore's avatar
      A start for file locking · 4e840536
      SamwiseFilmore authored
      This compiles, but I think the tests are deadlocking somehow, even with
      an unlock being called explicitly in the AllGroups drop. More work is
      needed to make this work.
      4e840536
  4. 05 Sep, 2020 3 commits
    • SamwiseFilmore's avatar
      Documentation · 50da0cdf
      SamwiseFilmore authored
      Uhg.
      50da0cdf
    • SamwiseFilmore's avatar
      Fix Debug Impls; Remove FromStr; Fix group parsing · 3ab6a95f
      SamwiseFilmore authored
      - `FromStr` is no longer used for /etc/group parsing
      - All the structs in this crate will debug print correctly
      - Trailing whitespace/empty user lists for /etc/group entries are now
        parsed correctly. Tests added for those cases as well.
      3ab6a95f
    • SamwiseFilmore's avatar
      Remove dynamic auth checking · 466c2781
      SamwiseFilmore authored
      I never liked how I had to pass around a bool and ensure that the user
      had used the API correctly and panic if they hadn't. This commit adds a
      marker type to `User` and `AllUsers` that ensures that a user of the
      library cannot use authentication and other password related methods
      unless they've instantiated the user with authentication information.
      
      Got rid of the tests that ensured panics for incorrect usage of the API;
      incorrect API use is a compile-time error now.
      
      I removed `FromStr` for `User` and added it as a private method, later
      commits will do the same for `Group` and possibly transition away from
      `Display`.
      
      Documentation in the works.
      466c2781
  5. 26 Aug, 2020 3 commits
    • SamwiseFilmore's avatar
      0.3.5 · 00dd27f6
      SamwiseFilmore authored
      00dd27f6
    • SamwiseFilmore's avatar
      Make argon2 optional · 7d225631
      SamwiseFilmore authored
      Resolves #26.
      
      Since dirs is a reverse dependency of this crate and is used an awful
      lot, it's nice to have as small a dependency footprint as possible. dirs
      doesn't need the authentication stuff so we can drop a large number of
      deps. I imagine this will probably be useful in other contexts as well.
      7d225631
    • SamwiseFilmore's avatar
      Merge branch 'patch-1' into 'master' · 4afae396
      SamwiseFilmore authored
      Bump rust-argon2 dependency
      
      Closes #30
      
      See merge request !34
      4afae396
  6. 26 Mar, 2020 1 commit
  7. 22 Jan, 2020 3 commits
  8. 20 Jan, 2020 5 commits
  9. 01 Jan, 2020 1 commit
  10. 01 Sep, 2019 3 commits
  11. 07 Aug, 2019 2 commits
  12. 05 Feb, 2019 5 commits
  13. 04 Feb, 2019 2 commits
  14. 03 Feb, 2019 1 commit
  15. 02 Feb, 2019 2 commits