ilo 0.8.2

ilo — a programming language for AI agents
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "ilo"
version = "0.8.2"
authors = ["Daniel John Morris"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ilo — a programming language for AI agents"
homepage = "https://github.com/ilo-lang/ilo"
readme = "README.md"
keywords = [
    "language",
    "ai",
    "interpreter",
    "compiler",
    "vm",
]
categories = [
    "compilers",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/ilo-lang/ilo"

[features]
cranelift = [
    "dep:cranelift-codegen",
    "dep:cranelift-frontend",
    "dep:cranelift-jit",
    "dep:cranelift-module",
    "dep:cranelift-native",
    "dep:target-lexicon",
]
default = [
    "cranelift",
    "http",
]
http = ["dep:minreq"]
llvm = ["dep:inkwell"]
tools = [
    "dep:tokio",
    "dep:reqwest",
]

[[bin]]
name = "ilo"
path = "src/main.rs"

[[test]]
name = "eval_inline"
path = "tests/eval_inline.rs"

[[test]]
name = "examples"
path = "tests/examples.rs"

[[test]]
name = "http"
path = "tests/http.rs"

[[test]]
name = "tools"
path = "tests/tools.rs"

[dependencies.cranelift-codegen]
version = "0.116"
optional = true

[dependencies.cranelift-frontend]
version = "0.116"
optional = true

[dependencies.cranelift-jit]
version = "0.116"
optional = true

[dependencies.cranelift-module]
version = "0.116"
optional = true

[dependencies.cranelift-native]
version = "0.116"
optional = true

[dependencies.fastrand]
version = "2"

[dependencies.inkwell]
version = "0.5"
features = ["llvm18-0"]
optional = true

[dependencies.libc]
version = "0.2"

[dependencies.logos]
version = "0.16.1"

[dependencies.minreq]
version = "2.14"
features = ["https-rustls"]
optional = true
default-features = false

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.target-lexicon]
version = "0.12"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "process",
    "io-util",
    "sync",
]
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.wiremock]
version = "0.6"

[profile.release]
lto = true
codegen-units = 1
strip = true