-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (36 loc) · 943 Bytes
/
Cargo.toml
File metadata and controls
45 lines (36 loc) · 943 Bytes
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
[package]
name = "aether-lang"
version = "0.1.0"
edition = "2021"
authors = ["Z1529"]
description = "AetherLang - A self-hosting systems programming language"
license = "Apache-2.0"
repository = "https://github.com/Z1529/AetherLang"
[features]
default = ["llvm"] # LLVM is the primary backend (like Rust)
llvm = ["llvm-sys"]
c-only = [] # C backend fallback for environments without LLVM
[dependencies]
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# LLVM bindings - requires LLVM 21
# Enabled by default for LLVM backend
llvm-sys = { version = "211", optional = true }
# CLI
clap = { version = "4.0", features = ["derive"] }
# Serialization (for structured feedback)
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Utilities
log = "0.4"
env_logger = "0.11"
[dev-dependencies]
# Testing
pretty_assertions = "1.0"
[profile.release]
lto = true
codegen-units = 1
[[bin]]
name = "aethc"
path = "src/main.rs"