aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-cli/src/api.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-09-07 19:49:40 -0700
committerBryan Newbold <bnewbold@archive.org>2022-09-07 19:49:42 -0700
commitd941d472ada2b5943142751cf2c7e01b66f1d17a (patch)
tree48a3b895bddb7cfc44cecc51eb133cb99abbf520 /fatcat-cli/src/api.rs
parent19ad74a98458360473dbf0ff474368e1c1c45156 (diff)
downloadfatcat-cli-d941d472ada2b5943142751cf2c7e01b66f1d17a.tar.gz
fatcat-cli-d941d472ada2b5943142751cf2c7e01b66f1d17a.zip
use upstream version of 'macaroon' crate
The code changes are pretty minor: using default() instead of new(), and (safely) parsing bytes out of predicates instead of getting String directly. The validate() function is now run automatically as part of deserialization, so don't need that function call. This reduces duplication in the dependency tree, and gets us on sounder footing for maintainability, which is great!
Diffstat (limited to 'fatcat-cli/src/api.rs')
0 files changed, 0 insertions, 0 deletions