-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
122 lines (102 loc) Β· 2.11 KB
/
Cargo.toml
File metadata and controls
122 lines (102 loc) Β· 2.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
##
## naml - A fast, cross-platform programming language
##
## Workspace manifest defining the compiler and related crates.
## Targets: Native binary, Server WASM, Browser WASM
##
[workspace]
resolver = "2"
members = ["namlc"]
[workspace.package]
version = "0.1.0"
edition = "2024"
authors = ["naml contributors"]
license = "MIT"
repository = "https://github.com/naml-lang/naml"
description = "A fast, cross-platform programming language"
[workspace.dependencies]
##
## String interning for zero-allocation identifiers
##
lasso = { version = "0.7", features = ["multi-threaded"] }
##
## Cranelift JIT compilation
##
cranelift = "0.116"
cranelift-codegen = "0.116"
cranelift-frontend = "0.116"
cranelift-jit = "0.116"
cranelift-module = "0.116"
cranelift-native = "0.116"
##
## Error handling and diagnostics
##
thiserror = "2.0"
miette = { version = "7.4", features = ["fancy"] }
ariadne = "0.5"
##
## CLI and argument parsing
##
clap = { version = "4.5", features = ["derive"] }
##
## Serialization for cache and config
##
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
##
## Hashing for cache invalidation
##
blake3 = "1.5"
##
## File system utilities
##
walkdir = "2.5"
##
## Async runtime (for server mode)
##
tokio = { version = "1.43", features = ["full"] }
##
## HTTP client/server
##
hyper = { version = "1.5", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
http-body-util = "0.1"
##
## WASM targets
##
wasm-bindgen = "0.2"
js-sys = "0.3"
web-sys = { version = "0.3", features = ["console", "Window", "Document"] }
##
## Testing
##
insta = { version = "1.41", features = ["json"] }
##
## Parser combinators
##
nom = "7"
##
## Small vector optimization (stack-allocated for small sizes)
##
smallvec = { version = "1.13", features = ["union"] }
##
## SIMD-accelerated byte searching
##
memchr = "2.7"
##
## Arena allocation for AST nodes
##
bumpalo = { version = "3.16", features = ["collections"] }
##
## C library bindings for runtime
##
libc = "0.2"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true