-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (55 loc) · 1.52 KB
/
Copy pathCargo.toml
File metadata and controls
62 lines (55 loc) · 1.52 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
authors = ["Xavier Lau <x@acg.box>"]
categories = ["internationalization", "parsing"]
description = "Typed BCP47 language tags with built-in names, plural metadata, and conversion helpers."
edition = "2024"
homepage = "https://hack.ink/language"
keywords = ["bcp47", "i18n", "language", "language-tag", "locale"]
license = "GPL-3.0"
name = "language"
readme = "README.md"
repository = "https://github.com/hack-ink/language"
resolver = "3"
version = "0.4.1"
[package.metadata.docs.rs]
all-features = true
[[bin]]
name = "language"
path = "src/main.rs"
required-features = ["codegen"]
[profile.ci-dev]
incremental = false
inherits = "dev"
[profile.ci-release]
inherits = "release"
lto = true
[features]
codegen = [
# crates.io
"scraper",
]
sqlx-mysql = [
# crates.io
"sqlx/mysql",
]
sqlx-postgres = [
# crates.io
"sqlx/postgres",
]
sqlx-sqlite = [
# crates.io
"sqlx/sqlite",
]
[dependencies]
# crates.io
icu_locale_core = { version = "2.1", optional = true, features = ["alloc"] }
lingua = { version = "1.7", optional = true }
scraper = { version = "0.25", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
sqlx = { version = "0.8", optional = true, default-features = false }
thiserror = { version = "2.0" }
utoipa = { version = "5", optional = true }
whatlang = { version = "0.18", optional = true }
[dev-dependencies]
# crates.io
serde_json = { version = "1.0" }