-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (66 loc) · 2.45 KB
/
Copy pathCargo.toml
File metadata and controls
71 lines (66 loc) · 2.45 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
[package]
name = "ilo"
version = "26.5.0"
edition = "2024"
rust-version = "1.85"
description = "ilo - the token-minimal programming language AI agents write"
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", "dep:postcard"]
llvm = ["dep:inkwell"]
tools = ["dep:tokio", "dep:reqwest"]
# golden — enable golden-file diagnostic snapshot tests.
# Run: cargo test --features golden
# Bless: cargo test --features golden -- --bless (see CONTRIBUTING.md)
golden = []
[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 }
postcard = { version = "1.0", features = ["alloc"], default-features = false, 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"
getrandom = "0.2"
regex = "1"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
percent-encoding = "2"
base64 = "0.22"
chrono-tz = "0.10"
sha2 = "0.10"
hmac = "0.12"
hex = "0.4"
subtle = "2"
semver = "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