hirn-graph 0.1.0

Property graph, spreading activation, and Hebbian learning for hirn
Documentation
# 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"
rust-version = "1.91"
name = "hirn-graph"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Property graph, spreading activation, and Hebbian learning for hirn"
readme = "README.md"
license = "Apache-2.0"
resolver = "2"

[lib]
name = "hirn_graph"
path = "src/lib.rs"

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

[[bench]]
name = "graph_ops"
path = "benches/graph_ops.rs"
harness = false

[dependencies.bincode]
version = "1"

[dependencies.crossbeam-queue]
version = "0.3"

[dependencies.hirn-core]
version = "0.1.0"

[dependencies.petgraph]
version = "0.6"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.bincode]
version = "1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1"

[lints.clippy]
approx_constant = "allow"
await_holding_lock = "allow"
bool_assert_comparison = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
clone_on_copy = "allow"
cloned_instead_of_copied = "allow"
collapsible_if = "allow"
collection_is_never_read = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
drop_non_drop = "allow"
elidable_lifetime_names = "allow"
field_reassign_with_default = "allow"
float_cmp = "allow"
for_kv_map = "allow"
format_collect = "allow"
format_push_string = "allow"
if_not_else = "allow"
if_same_then_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
imprecise_flops = "allow"
io_other_error = "allow"
items_after_statements = "allow"
iter_on_empty_collections = "allow"
iter_on_single_items = "allow"
len_zero = "allow"
let_and_return = "allow"
let_underscore_future = "allow"
manual_div_ceil = "allow"
manual_is_multiple_of = "allow"
manual_let_else = "allow"
manual_range_contains = "allow"
manual_string_new = "allow"
manual_strip = "allow"
manual_unwrap_or_default = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_like_matches_macro = "allow"
match_result_ok = "allow"
match_same_arms = "allow"
match_wild_err_arm = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrows_for_generic_args = "allow"
needless_collect = "allow"
needless_continue = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
needless_question_mark = "allow"
needless_range_loop = "allow"
needless_raw_string_hashes = "allow"
never_loop = "allow"
new_without_default = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
redundant_clone = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
redundant_field_names = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match = "allow"
single_match_else = "allow"
suboptimal_flops = "allow"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
trailing_empty_array = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
uninlined_format_args = "allow"
unnecessary_cast = "allow"
unnecessary_literal_bound = "allow"
unnecessary_map_or = "allow"
unnecessary_struct_initialization = "allow"
unnecessary_unwrap = "allow"
unnecessary_wraps = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
unwrap_or_default = "allow"
use_self = "allow"
used_underscore_binding = "allow"
useless_format = "allow"
while_let_loop = "allow"
wildcard_imports = "allow"
wildcard_in_or_patterns = "allow"
write_with_newline = "allow"
writeln_empty_string = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"