-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (51 loc) · 1.94 KB
/
Cargo.toml
File metadata and controls
56 lines (51 loc) · 1.94 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
[package]
name = "ilo"
version = "0.10.0"
edition = "2024"
rust-version = "1.85"
description = "ilo — a programming language for AI agents"
license = "MIT"
repository = "https://github.com/ilo-lang/ilo"
homepage = "https://github.com/ilo-lang/ilo"
authors = ["Daniel John Morris"]
keywords = ["language", "ai", "interpreter", "compiler", "vm"]
categories = ["compilers", "command-line-utilities"]
readme = "README.md"
[lib]
name = "ilo"
crate-type = ["staticlib", "rlib"]
[features]
default = ["cranelift", "http"]
http = ["dep:minreq"]
cranelift = ["dep:cranelift-codegen", "dep:cranelift-frontend", "dep:cranelift-jit", "dep:cranelift-module", "dep:cranelift-native", "dep:cranelift-object", "dep:target-lexicon"]
llvm = ["dep:inkwell"]
tools = ["dep:tokio", "dep:reqwest"]
[dependencies]
logos = "0.16.1"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
thiserror = "2.0.18"
libc = "0.2"
cranelift-codegen = { version = "0.116", optional = true }
cranelift-frontend = { version = "0.116", optional = true }
cranelift-jit = { version = "0.116", optional = true }
cranelift-module = { version = "0.116", optional = true }
cranelift-native = { version = "0.116", optional = true }
cranelift-object = { version = "0.116", optional = true }
target-lexicon = { version = "0.12", optional = true }
inkwell = { version = "0.5", features = ["llvm18-0"], optional = true }
minreq = { version = "2.14", default-features = false, features = ["https-rustls"], optional = true }
tokio = { version = "1", features = ["rt", "macros", "process", "io-util", "sync"], optional = true }
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"], optional = true }
clap = { version = "4", features = ["derive"] }
fastrand = "2"
regex = "1"
[dev-dependencies]
wiremock = "0.6"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
tempfile = "3"
serde_json = "1"
[profile.release]
strip = true
lto = true
codegen-units = 1