Commit graph

12 commits

Author SHA1 Message Date
Smitty
d3e80e3a37 ID parsing: reject IDs with invalid prefix 2021-08-28 10:58:14 -04:00
Smitty
04fd6bedd3 impl Display for Sid + Lid
Previously they only had ToString implementations, now they get Display
too! ToString gets automatically implemented for them as a side effect
of implementing Display.
2021-08-28 10:51:11 -04:00
Smitty
10a9f9f2ca split consts to seperate file 2021-05-29 13:36:07 -04:00
Smitty
935a47dd8c make Qid::unit_suffix const 2021-05-29 13:33:16 -04:00
Smitty
f9a075b922 simplify Fid/Sid stringification 2021-05-29 11:38:22 -04:00
Smitty
1dc7f743b0 simplify json_url logic 2021-05-29 11:36:16 -04:00
Smitty
b561b48aa3 Do more linting 2021-05-28 13:04:06 -04:00
Smitty
15b8542c97 better lib structure/docs 2021-05-28 10:11:49 -04:00
Smitty
0477beb59a make ids 64 bits 2021-05-28 09:27:32 -04:00
Smitty
b13d35a4c2 fix tests 2021-05-28 08:54:26 -04:00
Smitty
8d4d4553b7 simplify ID tests 2021-05-27 20:11:54 -04:00
Smitty
0d330126fe init library 2021-05-27 17:36:20 -04:00