[package]
edition = "2021"
rust-version = "1.82"
name = "oharness-core"
version = "0.1.0"
authors = ["open-harness contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types, event schema, and context-plumbing traits for open-harness"
homepage = "https://github.com/aishfenton/open-harness"
readme = "README.md"
keywords = [
"llm",
"agent",
"schema",
"events",
"research",
]
categories = [
"development-tools",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aishfenton/open-harness"
[features]
default = []
schemars-export = ["dep:schemars"]
[lib]
name = "oharness_core"
path = "src/lib.rs"
[[example]]
name = "export_schema"
path = "examples/export_schema.rs"
[[example]]
name = "gen_v1_fixture"
path = "examples/gen_v1_fixture.rs"
[[test]]
name = "schema_up_to_date"
path = "tests/schema_up_to_date.rs"
[[test]]
name = "v1_compat"
path = "tests/v1_compat.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.schemars]
version = "0.8"
features = [
"derive",
"preserve_order",
]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.time]
version = "0.3"
features = [
"serde",
"formatting",
"parsing",
"macros",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.url]
version = "2"
features = ["serde"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[lints.clippy.all]
level = "deny"
priority = -1
[lints.rust]
warnings = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1