-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Cargo.toml
47 lines (42 loc) · 1.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "hayagriva"
version = "0.8.0"
authors = ["Martin Haug <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Work with references: Literature database management, storage, and citation formatting"
repository = "https://github.com/typst/hayagriva"
readme = "README.md"
categories = ["template-engine", "value-formatting", "command-line-utilities"]
keywords = ["bibliography", "citation", "reference", "bibtex", "literature"]
[features]
default = ["biblatex", "archive"]
cli = ["clap", "strum"]
archive = ["ciborium"]
csl-json = ["citationberg/json"]
[dependencies]
citationberg = "0.4.0"
indexmap = { version = "2.0.2", features = ["serde"] }
numerals = "0.1.4"
paste = "1.0.14"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.25"
thiserror = "1.0.48"
unic-langid = { version = "0.9.0", features = ["serde"] }
unicode-segmentation = "1.6.0"
unscanny = "0.1.0"
url = { version = "2.4", features = ["serde"] }
biblatex = { version = "0.10.0", optional = true }
ciborium = { version = "0.2.1", optional = true }
clap = { version = "4", optional = true, features = ["cargo"] }
strum = { version = "0.26", features = ["derive"], optional = true }
[dev-dependencies]
heck = "0.5"
serde_json = "1"
[[bin]]
name = "hayagriva"
required-features = ["cli"]
[[test]]
name = "citeproc"
path = "tests/citeproc.rs"
required-features = ["csl-json"]