-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (39 loc) · 1.08 KB
/
Cargo.toml
File metadata and controls
47 lines (39 loc) · 1.08 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
[workspace]
members = [".", "iconv"]
[package]
name = "stringly"
description = "Generic string types parameterized by encoding (UTF-8, UTF-16, UTF-32, legacy codepages)"
version = "0.0.0"
edition = "2024"
authors = ["Brendan Molloy <brendan@bbqsrc.net>"]
license = "Apache-2.0 OR MIT"
[features]
default = ["unicode"]
# Unicode encodings (all cover full Unicode)
unicode = ["utf16", "utf32", "gb18030", "utf7", "cesu8", "utf-ebcdic"]
utf16 = []
utf32 = []
gb18030 = []
utf7 = []
cesu8 = []
utf-ebcdic = []
# Legacy codepages (granular)
codepages = ["codepages-iso8859", "codepages-windows", "codepages-dos", "codepages-apple", "codepages-misc", "codepages-cjk"]
codepages-iso8859 = []
codepages-windows = []
codepages-dos = []
codepages-apple = []
codepages-misc = []
# CJK legacy encodings
codepages-cjk = ["euc-jp", "iso-2022-jp", "shift-jis", "euc-kr", "big5"]
euc-jp = []
iso-2022-jp = []
shift-jis = []
euc-kr = []
big5 = []
# Runtime encoding registry (for CLI tools)
registry = ["dep:inventory"]
[dependencies]
inventory = { version = "0.3", optional = true }
[dev-dependencies]
paste = "1.0"