-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
46 lines (41 loc) · 1.04 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
[package]
authors = ["Sebastian Humenda <[email protected]>"]
description = "Efficient, static lookup table for ISO 639 language codes"
documentation = "https://docs.rs/isolang"
keywords = [
"iso",
"iso-639",
"language",
"language-code",
"autonym"
]
license = "Apache-2.0"
name = "isolang"
readme = "README.md"
repository = "https://github.com/humenda/isolang-rs"
version = "2.4.0"
edition = "2021"
[dependencies]
phf = "0.11"
[dependencies.serde]
optional = true
version = "1.0"
[dependencies.async-graphql]
optional = true
version = "6.0"
[features]
default = ["english_names"]
# all English names of langauges for lookup (increases binary size considerably)
english_names = []
# ignore casing of English language names
lowercase_names = []
# add autonyms, i.e. local language names, as a lookup option (increases binary
# size)
local_names = []
# add an iterator over all available langauges
list_languages = []
# add async-graphql support
async-graphql = ["dep:async-graphql"]
[dev-dependencies]
phf_codegen = "0.11"
serde_json = "1.0"