[package]
edition = "2024"
name = "gepa"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GEPA: Reflective Prompt Evolution — a Rust implementation of the genetic-Pareto prompt optimizer"
readme = "README.md"
keywords = [
"llm",
"prompt-optimization",
"genetic-algorithm",
"pareto",
"ai",
]
categories = [
"science",
"algorithms",
]
license = "MIT"
repository = "https://github.com/Epistates/gepars"
[features]
mlflow = []
wandb = []
[lib]
name = "gepa"
path = "src/lib.rs"
[[example]]
name = "custom_adapter"
path = "examples/custom_adapter.rs"
[[example]]
name = "merge_demo"
path = "examples/merge_demo.rs"
[[example]]
name = "minimal"
path = "examples/minimal.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.indicatif]
version = "0.17"
[dependencies.rand]
version = "0.8"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"json",
"env-filter",
]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
cast_precision_loss = "allow"
doc_markdown = "allow"
doc_overindented_list_items = "allow"
empty_line_after_doc_comments = "allow"
float_cmp = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
return_self_not_must_use = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
type_complexity = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"