-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
46 lines (41 loc) · 1.13 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]
name = "tensor-man"
description = "A small utility to inspect and validate safetensors and ONNX files."
authors = ["Simone Margaritelli ([email protected])"]
version = "0.4.2"
edition = "2021"
license = "GPL-3.0"
readme = "README.md"
repository = "https://github.com/dreadnode/tman"
homepage = "https://github.com/dreadnode/tman"
[[bin]]
name = "tman"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.91"
base64 = "0.22.1"
blake2 = "0.10.6"
chrono = "0.4.38"
clap = { version = "4.5.20", features = ["derive"] }
dot_graph = "0.2.3"
gguf = "0.1.2"
glob = "0.3.1"
hex = "0.4.3"
humansize = "2.1.3"
memmap2 = "0.9.5"
protobuf = { version = "3.7.1", features = ["with-bytes"] }
rayon = "1.10.0"
ring = "0.17.8"
safetensors = "0.4.5"
serde = { version = "1.0.213", features = ["derive"] }
serde_json = "1.0.132"
tempfile = "3.13.0"
[build-dependencies]
protobuf-codegen = "3.7.1"
[profile.release]
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
[dev-dependencies]
tempfile = "3.13.0"