Skip to content

Commit

Permalink
Change to typed frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
reknih committed Sep 28, 2023
1 parent a732159 commit cdecebe
Show file tree
Hide file tree
Showing 22 changed files with 4,828 additions and 3,484 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ unic-langid = "0.9.0"
unicode-segmentation = "1.6.0"
url = "2.1.1"
yaml-rust = "0.4.4"
unscanny = "0.1.0"

[[bin]]
name = "hayagriva"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ crazy-rich:

// Parse a bibliography
let bib = from_yaml_str(yaml).unwrap();
assert_eq!(bib[0].date().unwrap().year, 2014);
assert_eq!(bib[0].date.unwrap().year, 2014);

// Format the reference
let db = Database::from_entries(bib.iter());
Expand Down
Loading

0 comments on commit cdecebe

Please sign in to comment.