-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
96 lines (84 loc) · 2.62 KB
/
Copy pathCargo.toml
File metadata and controls
96 lines (84 loc) · 2.62 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "tauq"
version = "0.2.1"
edition = "2024"
authors = ["Tauq Contributors"]
license = "MIT"
description = "Token-efficient data notation - 49% fewer tokens than JSON (verified with tiktoken)"
repository = "https://github.com/epistates/tauq"
homepage = "https://www.tauq.org"
documentation = "https://docs.rs/tauq"
readme = "README.md"
keywords = ["serialization", "parser", "llm", "token-efficient", "data-format"]
categories = ["encoding", "parser-implementations", "command-line-utilities"]
include = [
"/src/**/*",
"/tests/**/*",
"/benches/**/*",
"/include/tauq.h",
"/Cargo.toml",
"/Cargo.lock",
"/README.md",
"/CHANGELOG.md",
"/LICENSE",
"!**/.DS_Store",
]
[lib]
name = "tauq"
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "tauq"
path = "src/bin/tauq.rs"
[[bin]]
name = "tauq-lsp"
path = "src/bin/tauq-lsp.rs"
required-features = ["lsp"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
once_cell = "1.21"
thiserror = "2.0"
pyo3 = { version = "0.28", features = ["extension-module"], optional = true }
rhai = { version = "1.24", optional = true, features = ["serde"] }
tempfile = "3.27"
ahash = "=0.8.12"
jni = { version = "0.22", optional = true }
tower-lsp = { version = "0.20.0", optional = true }
tokio = { version = "1.50", features = ["full"], optional = true }
# Iceberg integration
iceberg = { version = "0.8", optional = true }
arrow-array = { version = "58.0", optional = true }
arrow-schema = { version = "58.0", optional = true }
futures = { version = "0.3", optional = true }
bytes = { version = "1.11", optional = true }
# Performance optimizations (Phase 2)
rayon = { version = "1.11", optional = true }
[features]
default = ["rhai", "performance"]
python-bindings = ["pyo3"]
java-bindings = ["jni"]
lsp = ["tower-lsp", "dep:tokio"]
iceberg = ["dep:iceberg", "dep:arrow-array", "dep:arrow-schema", "dep:futures", "dep:tokio", "dep:bytes"]
performance = ["dep:rayon"]
[dev-dependencies]
criterion = { version = "0.8", features = ["html_reports"] }
rand = "0.10"
# Comparison formats for benchmarking
bitcode = { version = "0.6", features = ["serde"] }
bincode = { version = "2.0", features = ["serde"] }
postcard = { version = "1.1", features = ["alloc"] }
rmp-serde = "1.3"
[[bench]]
name = "tauq_benchmarks"
harness = false
[[bench]]
name = "tbf_benchmark"
harness = false
[[bench]]
name = "codec_benchmark"
harness = false
[[bench]]
name = "compression_real_data"
harness = false
[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies]
getrandom = { version = "0.4", features = ["wasm_js"] }