-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (64 loc) · 2 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (64 loc) · 2 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
[workspace]
resolver = "2"
members = [
"apps/bench",
"apps/camera-face-tool",
"apps/llm-bench",
"crates/yscv-cpu",
"crates/yscv-tensor",
"crates/yscv-autograd",
"crates/yscv-optim",
"crates/yscv-kernels",
"crates/yscv-model",
"crates/yscv-imgproc",
"crates/yscv-video",
"crates/yscv-detect",
"crates/yscv-recognize",
"crates/yscv-track",
"crates/yscv-eval",
"crates/yscv-cli",
"crates/yscv-onnx",
"crates/yscv-pipeline",
"crates/yscv-threadpool",
"crates/yscv-video-mpp",
"crates/yscv-quantize-cli",
"crates/yscv",
"examples",
]
exclude = [
"benchmarks/rust-competitors",
"fuzz",
]
[workspace.package]
edition = "2024"
license = "MIT OR Apache-2.0"
version = "0.1.11"
authors = ["yscv contributors"]
rust-version = "1.94"
description = "Pure Rust computer vision and deep learning framework — image processing, neural network training, ONNX inference, object detection, tracking, and recognition in a single binary"
repository = "https://github.com/enthropy7/yscv"
categories = ["computer-vision", "science", "algorithms", "multimedia"]
keywords = ["computer-vision", "deep-learning", "image-processing", "onnx", "video"]
[workspace.dependencies]
thiserror = "2"
rustc-hash = "2.1.3"
# Every benchmark and latency harness in the workspace installs this as its
# global allocator, so measurements are allocator-comparable across targets.
# Library crates deliberately do not — a library must leave that choice to the
# binary at the top of the dependency graph.
mimalloc = { version = "0.1", default-features = false }
[workspace.lints.rust]
unsafe_code = "deny"
# objc 0.2's msg_send! macro triggers false cfg warnings in yscv-kernels
unexpected_cfgs = "allow"
[workspace.lints.clippy]
too_many_arguments = "allow"
needless_range_loop = "allow"
type_complexity = "allow"
large_enum_variant = "allow"
new_without_default = "allow"
if_same_then_else = "allow"
should_implement_trait = "allow"
[profile.release]
lto = "thin"
codegen-units = 1