[package]
edition = "2021"
rust-version = "1.99"
name = "harn-stdlib-compiler"
version = "0.10.204"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile Harn standard library bytecode without native runtime implementations"
homepage = "https://harnlang.com/"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/burin-labs/harn"
[features]
cloud-aws = ["harn-vm/cloud-aws"]
compression = [
"harn-vm/compression",
"harn-runtime/compression",
]
content = [
"harn-vm/content",
"harn-runtime/content",
]
default = ["full"]
full = [
"harn-vm/full",
"harn-runtime/full",
"postgres",
"sqlite",
"content",
"compression",
"http-compression",
"cloud-aws",
"native-keyring",
]
http-compression = ["harn-vm/http-compression"]
llm-bench-internals = ["harn-vm/llm-bench-internals"]
native-keyring = ["harn-vm/native-keyring"]
otel = ["harn-vm/otel"]
postgres = [
"harn-vm/postgres",
"harn-runtime/postgres",
]
sqlite = [
"harn-vm/sqlite",
"harn-runtime/sqlite",
]
testbench-wasi = ["harn-vm/testbench-wasi"]
vm-bench-internals = ["harn-vm/vm-bench-internals"]
vm-test-support = ["harn-vm/vm-test-support"]
[lib]
name = "harn_stdlib_compiler"
path = "src/lib.rs"
[dependencies.harn-builtin-macros]
version = "=0.10.204"
[dependencies.harn-builtin-meta]
version = "=0.10.204"
[dependencies.harn-stdlib]
version = "=0.10.204"
[dependencies.harn-vm-core]
version = "=0.10.204"
[dev-dependencies.harn-runtime]
version = "=0.10.204"
default-features = false
[dev-dependencies.harn-vm]
version = "=0.10.204"
default-features = false
[lints.clippy]
assert_is_empty = "allow"
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"
string_slice = "deny"
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_async_trait_impl = "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