Commit graph

87 commits

Author SHA1 Message Date
5dbd437296
feat: forgejo action
Some checks failed
Build/test / Build and test (push) Failing after 40s
2025-08-25 15:50:54 -07:00
Smitty
efcbc2697c
Merge pull request #8 from NexVeridian/master
Some checks are pending
Build/test / Build and test (push) Waiting to run
chore: 2024 edition, update dependencies, cargo fmt and clippy
2025-07-10 15:09:05 -04:00
df7c60293b
chore: revert swapping None to _ 2025-07-10 11:46:19 -07:00
e06adec728
chore: revert updating some dependency versions 2025-07-10 11:41:56 -07:00
7515ad24d4
chore: edition 2024, and fmt and clippy 2025-06-27 13:52:06 -07:00
878cd3e8d8
chore: remove unused dependency 2025-06-27 13:50:23 -07:00
c86218be16
chore: cargo fmt and clippy 2025-06-27 13:48:17 -07:00
0d8bc4e5cd
chore: update dependencies 2025-06-27 13:36:09 -07:00
syvb
01aae538ac Release 1.1.0 2024-06-29 11:40:36 -04:00
Smitty
eaedffde64
Merge pull request #7 from syvb/fetch-claim-from-pid
Add simpler accessors for getting claims
2024-06-29 06:39:54 -04:00
syvb
33302d9dc5 Add simpler accessors for getting claims
Adds {Entity,ReferenceGroup}::pid_claims, ClaimValue::qualifier_pid_claims, Entity::claim_by_id.
2024-06-25 19:28:14 -04:00
Smitty
5d87d8da89
Merge pull request #5 from NexVeridian/master
Add readme links to crates.io and docs.rs
2024-04-19 19:18:30 -04:00
5e9e9bf15c
Add readme links to crates.io and docs.rs 2024-04-19 15:54:32 -07:00
syvb
ab388f86b6 Bump version to 1.0.0
See #4.
2024-04-06 09:30:52 -04:00
syvb
c85d79dd9a Derive Default impls 2023-12-09 18:23:49 -05:00
syvb
54cc35677c Update Cargo.toml metadata 2023-11-10 13:42:42 -05:00
Lena Brüder
497ddf979b
Add support for sitelinks (#3) 2023-11-10 11:05:24 -05:00
syvb
ab0a0a8029 Properly handle invalid times 2023-11-06 17:20:41 -05:00
syvb
ba0e79ecbd Apply #[must_use] to the right item 2023-11-06 17:07:12 -05:00
Smitty
a982174217 note lack of support for EntitySchemas 2022-12-10 15:43:41 -05:00
Smitty
c53655bc52 expand Entity::from_json docs 2021-12-26 12:36:43 -05:00
Smitty
bddc2c0b31 Remove some unneeded global clippy allows 2021-12-26 12:30:07 -05:00
Smitty
4462614192 Add documentation for constants 2021-12-26 12:27:56 -05:00
Smitty
a52c32770d Split consts to seperate file 2021-12-26 12:19:45 -05:00
Smitty
6171ada22a add note about serde traits 2021-12-25 18:30:10 -05:00
Smitty
793e5ec218 Don't push unneeded items directory to crates.io
This is a large directory that isn't needed by downstream users.
2021-12-25 18:24:47 -05:00
Smitty
78a513d146 Add example for serializing Entity structure 2021-12-25 18:21:41 -05:00
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