Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
99 lines (88 loc) · 3.11 KB
/
Copy pathCargo.toml
File metadata and controls
99 lines (88 loc) · 3.11 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
97
98
99
[workspace]
resolver = "3"
members = ["crates/*", "apps/*", "xtask"]
[workspace.package]
version = "0.4.0"
edition = "2024"
license = "MIT OR Apache-2.0"
rust-version = "1.97"
repository = "https://github.com/storytold/craft-anything"
[workspace.dependencies]
# internal
craft-anything-evidence = { path = "crates/evidence" }
craft-anything-formats = { path = "crates/formats" }
craft-anything-disasm = { path = "crates/disasm" }
craft-anything-js = { path = "crates/js" }
craft-anything-analysis = { path = "crates/analysis" }
craft-anything-platform = { path = "crates/platform" }
craft-anything-engines = { path = "crates/engines" }
craft-anything-engine = { path = "crates/engine" }
craft-anything-ai = { path = "crates/ai" }
craft-anything-mcp = { path = "crates/mcp" }
craft-anything-setup = { path = "crates/setup" }
craft-anything-ui-egui = { path = "crates/ui-egui" }
craft-anything-testkit = { path = "crates/testkit" }
# external
thiserror = "2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
serde_path_to_error = "0.1"
sha2 = "0.10"
hex = "0.4"
bitflags = { version = "2", features = ["serde"] }
schemars = "1"
log = "0.4"
toml = "0.9"
eframe = { version = "0.36", default-features = false }
egui = "0.36"
egui_extras = { version = "0.36", default-features = false }
egui_kittest = "0.36"
rfd = "0.17"
# Pictures pasted from the clipboard (egui only receives pasted text); egui-winit already uses it.
arboard = { version = "3.6", default-features = false, features = ["image-data"] }
rayon = "1"
proptest = "1"
# JavaScript (pure Rust, wasm-safe)
oxc_allocator = "0.153"
oxc_ast = "0.153"
oxc_ast_visit = "0.153"
oxc_parser = "0.153"
oxc_span = "0.153"
oxc_syntax = "0.153"
oxc_codegen = "0.153"
oxc_semantic = "0.153"
miniz_oxide = "0.8"
# native engine (pure Rust)
object = { version = "0.36", default-features = false, features = ["read", "std"] }
iced-x86 = { version = "1.21", default-features = false, features = ["std", "decoder", "intel", "instr_info"] }
yaxpeax-arm = { version = "0.5", default-features = false, features = ["std", "alloc", "fmt"] }
yaxpeax-arch = { version = "0.3", default-features = false, features = ["std", "alloc"] }
rustc-demangle = "0.1"
wasmparser = { version = "0.261", default-features = false, features = ["std", "validate", "features", "component-model", "simd"] }
wasmprinter = { version = "0.261", default-features = false, features = ["component-model"] }
regex = "1"
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
dbg_macro = "warn"
todo = "warn"
[profile.dev.package."*"]
opt-level = 2
[profile.dev]
opt-level = 1
[profile.release]
lto = "thin"
codegen-units = 1
# The browser build (apps/craft-anything-web, `trunk build --release`): small and fast to load.
[profile.web-release]
inherits = "release"
opt-level = "s"
lto = "fat"
codegen-units = 1
debug = false
strip = true
panic = "abort"
# wgpu-hal with a Metal shader-language probe (Craft Anything #742; upstream wgpu #10687).
# Remove this once the upstream wgpu release picks a Metal version the compiler accepts. See vendor/wgpu-hal/CRAFT_ANYTHING.md.
[patch.crates-io]
wgpu-hal = { path = "vendor/wgpu-hal" }