Smitty
869f3eb374
try to pass --check to rustfmt
2021-12-25 16:55:00 -05:00
Smitty
7278830303
Run cargo fmt check on push
2021-12-25 16:50:28 -05:00
Smitty
5283acb93e
Release 0.3.0
2021-12-25 16:48:11 -05:00
Smitty
258a4b2a94
Simplify wiki id parsing
2021-12-25 12:08:52 -05:00
Smitty
b94d358423
fix typo in docs
2021-12-25 11:38:50 -05:00
Smitty
2a9c8c7aea
impl FromStr for WikiId
2021-09-05 15:30:22 -04:00
Smitty
56dc904a9b
test that sense/form IDs don't parse as lexeme IDs
2021-09-05 15:25:24 -04:00
Smitty
30cd0db436
Move WikiId to ids.rs
...
This doesn't change the exported items since both modules get reexported
2021-09-05 15:22:39 -04:00
Smitty
ad918f8597
Fix panic on invalid entity
2021-08-31 17:28:00 -04:00
Smitty
dc7821806c
Support parsing Fids and Sids
2021-08-30 15:47:18 -04:00
Smitty
8567f29a50
macroize Fid/Sid definitions
2021-08-30 15:27:18 -04:00
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
6f54023b96
Improve entity documentation
2021-08-28 10:46:31 -04:00
Smitty
249cd707ee
Use consistent formatting for trailing semicolons
...
Satisfies clippy::semicolon_if_nothing_returned
2021-08-28 10:38:05 -04:00
Smitty
cc64ba99cf
Link to Wikidata in README
2021-08-28 10:35:26 -04:00
Smitty
fece77ac1e
Release 0.2.1
2021-07-28 14:42:13 -04:00
Dashiell Stander
e9cd90efff
Added new field on Entity struct that has the ID on it
...
Co-authored-by: Smittyvb <me@smitop.com>
2021-07-27 10:46:34 -04:00
Smitty
5a27fbb387
release 0.2.0
2021-05-30 19:06:17 -04:00
Smitty
daa4c82286
clean up getfromnet
2021-05-30 19:04:10 -04:00
Smitty
0ba4168b85
Add getfromnet example
2021-05-30 17:01:08 -04:00
Smitty
6e471a17e2
Add sourcing info for items/
2021-05-30 12:17:06 -04:00
Smitty
c6e0b7745c
Better handling of numbers
2021-05-30 11:00:35 -04:00
Smitty
284af1ad9f
treat out of bounds dates as unknown value
2021-05-30 10:10:10 -04:00
Smitty
38b35a77cb
support parsing items
2021-05-30 09:43:00 -04:00
Smitty
646edadcef
more extensive testing
2021-05-29 17:19:00 -04:00
Smitty
48eb6bf085
validate snak parsing results
2021-05-29 17:06:52 -04:00
Smitty
2939ad9918
use serde_json for JSON parsing
2021-05-29 16:58: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
a7733fc4fd
mention WIP-ness in readme
2021-05-29 10:31:13 -04:00
Smitty
87823dee39
Test parsing various snaks
2021-05-29 10:16:47 -04:00
Smitty
c442ff1882
Use different types for ExpectedString errors
2021-05-29 10:11:23 -04:00
Smitty
7ad91ac481
state lack of offcialness in readme
2021-05-28 15:17:40 -04:00
Smitty
b561b48aa3
Do more linting
2021-05-28 13:04:06 -04:00
Smitty
588a5777db
simplify matches to if lets
2021-05-28 12:56:15 -04:00
Smitty
4d1aaed1a2
bump version
2021-05-28 12:53:13 -04:00
Smitty
44e1fe2fff
Better documentation for Text
2021-05-28 12:52:10 -04:00
Smitty
2b0db79c3e
rename Stringg to String
2021-05-28 12:50:58 -04:00
Smitty
d9003c92d3
better format for DateTime table
2021-05-28 12:50:16 -04:00
Smitty
c9e1adca59
format
2021-05-28 12:43:23 -04:00
Smitty
a2c5829526
Test in GH Actions
2021-05-28 11:56:48 -04:00
Smitty
d49f692b3a
Add .editorconfig
2021-05-28 11:06:17 -04:00
Smitty
7c187f4c2e
add readme
2021-05-28 10:53:44 -04:00
Smitty
bfb7975477
add metadata
2021-05-28 10:50:43 -04:00
Smitty
0645f03e6a
fix some panics
2021-05-28 10:24:29 -04:00
Smitty
15b8542c97
better lib structure/docs
2021-05-28 10:11:49 -04:00
Smitty
dab2888135
flatten api surface
2021-05-28 09:56:13 -04:00