[package]
edition = "2024"
rust-version = "1.97.0"
name = "meerkat-machine-codegen"
version = "0.9.20"
authors = ["Luka Crnkovic-Friis"]
build = false
exclude = [
"tests/render_contracts.rs",
"tests/runtime_alphabet_parity.rs",
"tests/runtime_schema_parity.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Code generation of Meerkat machine kernels and authority modules from machine schemas"
homepage = "https://docs.rkat.ai"
documentation = "https://docs.rkat.ai"
readme = false
keywords = [
"agent",
"llm",
"ai",
"meerkat",
]
categories = [
"development-tools",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lukacf/meerkat"
resolver = "2"
[lib]
name = "meerkat_machine_codegen"
path = "src/lib.rs"
[[test]]
name = "artifacts_semantic_model"
path = "tests/artifacts_semantic_model.rs"
[[test]]
name = "external_catalog"
path = "tests/external_catalog.rs"
[[test]]
name = "len_lowering"
path = "tests/len_lowering.rs"
[[test]]
name = "named_type_binding_respected"
path = "tests/named_type_binding_respected.rs"
[[test]]
name = "redacted_field_debug"
path = "tests/redacted_field_debug.rs"
[[test]]
name = "routed_effect_module_shape"
path = "tests/routed_effect_module_shape.rs"
[dependencies.meerkat-core]
version = "=0.9.20"
[dependencies.meerkat-machine-schema]
version = "=0.9.20"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies]
[lints.clippy]
allow_attributes_without_reason = "allow"
assigning_clones = "allow"
cargo_common_metadata = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
default_trait_access = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
expect_used = "deny"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
format_push_string = "allow"
ignore_without_reason = "allow"
implicit_clone = "deny"
items_after_statements = "allow"
items_after_test_module = "allow"
large_enum_variant = "allow"
large_futures = "allow"
let_underscore_untyped = "allow"
manual_let_else = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_docs_in_private_items = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
mutex_atomic = "deny"
mutex_integer = "deny"
needless_continue = "allow"
needless_pass_by_value = "allow"
panic = "deny"
print_stderr = "allow"
print_stdout = "allow"
question_mark = "allow"
redundant_clone = "deny"
redundant_closure_for_method_calls = "allow"
redundant_feature_names = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "deny"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unimplemented = "deny"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(meerkat_internal_agent_factory_build)",
"cfg(meerkat_internal_generated_authority_bridge)",
]