harn-hostlib 0.8.44

Opt-in code-intelligence and deterministic-tool host builtins for the Harn VM
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 = "2021"
name = "harn-hostlib"
version = "0.8.44"
build = false
include = [
    "src/**/*",
    "schemas/**/*",
    "data/**/*",
    "tests/**/*",
    "benches/**/*",
    "Cargo.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Opt-in code-intelligence and deterministic-tool host builtins for the Harn VM"
homepage = "https://harnlang.com/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/burin-labs/harn"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.globset]
version = "0.4"

[dependencies.grep-matcher]
version = "0.1"

[dependencies.grep-regex]
version = "0.1"

[dependencies.grep-searcher]
version = "0.1"

[dependencies.harn-vm]
version = "0.8"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.notify]
version = "8"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["formatting"]

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
    "fs",
    "process",
    "time",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tree-sitter]
version = "0.26"

[dependencies.tree-sitter-bash]
version = "0.25"

[dependencies.tree-sitter-c]
version = "0.24"

[dependencies.tree-sitter-c-sharp]
version = "0.23"

[dependencies.tree-sitter-cpp]
version = "0.23"

[dependencies.tree-sitter-elixir]
version = "0.3"

[dependencies.tree-sitter-go]
version = "0.25"

[dependencies.tree-sitter-haskell]
version = "0.23"

[dependencies.tree-sitter-java]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.25"

[dependencies.tree-sitter-kotlin-ng]
version = "1.1"

[dependencies.tree-sitter-lua]
version = "0.5"

[dependencies.tree-sitter-php]
version = "0.24"

[dependencies.tree-sitter-python]
version = "0.25"

[dependencies.tree-sitter-r]
version = "1.2"

[dependencies.tree-sitter-ruby]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.24"

[dependencies.tree-sitter-scala]
version = "0.26"

[dependencies.tree-sitter-swift]
version = "0.7"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.tree-sitter-zig]
version = "1.1"

[dependencies.walkdir]
version = "2"

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

[dev-dependencies.filetime]
version = "0.2"

[dev-dependencies.harn-lexer]
version = "0.8"

[dev-dependencies.harn-parser]
version = "0.8"

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

[dev-dependencies.tempfile]
version = "3"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.security-framework]
version = "3.7"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61.2"
features = [
    "Win32_Foundation",
    "Win32_Security_Credentials",
]

[lints.clippy]
assigning_clones = "allow"
branches_sharing_code = "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"
collection_is_never_read = "allow"
default_trait_access = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
enum_glob_use = "allow"
explicit_iter_loop = "allow"
float_cmp = "allow"
format_collect = "allow"
format_push_string = "allow"
future_not_send = "allow"
if_not_else = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
inline_always = "allow"
items_after_statements = "allow"
iter_with_drain = "allow"
large_futures = "allow"
manual_let_else = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_collect = "allow"
needless_continue = "allow"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
range_plus_one = "allow"
redundant_closure_for_method_calls = "allow"
redundant_pub_crate = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
self_only_used_in_recursion = "allow"
significant_drop_in_scrutinee = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
single_option_map = "allow"
stable_sort_primitive = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
suboptimal_flops = "allow"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
trait_duplication_in_bounds = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
use_self = "allow"
used_underscore_binding = "allow"
useless_let_if_seq = "allow"
wildcard_imports = "allow"

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

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