[package]
edition = "2024"
name = "meme"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Long term memory for AI agents."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/qntx/meme"
[features]
api-embedding = []
default = ["api-embedding"]
onnx = ["dep:fastembed"]
[lib]
name = "meme"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "batch_import"
path = "examples/batch_import.rs"
[[test]]
name = "integration_store"
path = "tests/integration_store.rs"
[dependencies.arrow]
version = "57"
default-features = false
[dependencies.arrow-array]
version = "57"
[dependencies.arrow-schema]
version = "57"
[dependencies.chrono]
version = "0.4.44"
features = ["serde"]
[dependencies.directories]
version = "6.0.0"
[dependencies.fastembed]
version = "5.12.1"
optional = true
[dependencies.futures]
version = "0.3.32"
[dependencies.lancedb]
version = "0.27"
[dependencies.regex]
version = "1.12.3"
[dependencies.reqwest]
version = "0.13.2"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.50.0"
features = ["full"]
[dependencies.toml]
version = "0.9.8"
[dependencies.tracing]
version = "0.1.44"
[dependencies.uuid]
version = "1.22.0"
features = [
"v4",
"serde",
]
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
[lints.clippy]
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cargo_common_metadata = "allow"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_precision_loss = "allow"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
cognitive_complexity = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
excessive_nesting = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
fallible_impl_from = "warn"
fn_params_excessive_bools = "warn"
future_not_send = "warn"
implicit_hasher = "warn"
indexing_slicing = "allow"
large_types_passed_by_value = "warn"
match_same_arms = "warn"
match_wildcard_for_single_variants = "warn"
mem_forget = "warn"
missing_docs_in_private_items = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "warn"
option_if_let_else = "warn"
panic = "warn"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "warn"
return_self_not_must_use = "warn"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
wildcard_enum_match_arm = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
non_camel_case_types = "warn"
non_snake_case = "warn"
non_upper_case_globals = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unused_imports = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"
invalid_codeblock_attributes = "warn"
invalid_html_tags = "warn"
invalid_rust_codeblocks = "warn"
missing_crate_level_docs = "warn"
private_intra_doc_links = "warn"
unescaped_backticks = "warn"