Skip to content

Commit f66adcd

Browse files
committed
Initial numeral system implementation
1 parent 72f5cac commit f66adcd

4 files changed

Lines changed: 1020 additions & 61 deletions

File tree

Cargo.lock

Lines changed: 155 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "codex"
33
version = "0.2.0"
44
authors = ["The Typst Project Developers"]
5-
edition = "2021"
5+
edition = "2024"
66
description = "Human-friendly notation for Unicode symbols."
77
repository = "https://github.com/typst/codex"
88
readme = "README.md"
@@ -11,9 +11,13 @@ categories = ["encoding", "text-processing"]
1111
keywords = ["unicode", "symbols"]
1212

1313
[features]
14-
default = ["styling"]
14+
default = ["numeral-systems", "styling"]
15+
numeral-systems = ["chinese-number"]
1516
styling = []
1617
_test-unicode-conformance = ["ureq"]
1718

19+
[dependencies]
20+
chinese-number = { version = "0.7.7", default-features = false, features = ["number-to-chinese"], optional = true }
21+
1822
[build-dependencies]
1923
ureq = { version = "3.0.12", optional = true }

0 commit comments

Comments
 (0)