[package]
edition = "2021"
name = "harn-cli"
version = "0.8.42"
build = "build.rs"
include = [
"src/**/*",
"data/**/*",
"assets/**/*",
"build.rs",
"Cargo.toml",
"portal-dist/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "harn"
description = "CLI for the Harn programming language — run, test, REPL, format, and lint"
homepage = "https://harnlang.com/"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/burin-labs/harn"
[features]
default = ["hostlib"]
hostlib = [
"dep:harn-hostlib",
"harn-serve/hostlib",
]
[lib]
name = "harn_cli"
path = "src/lib.rs"
[[bin]]
name = "harn"
path = "src/main.rs"
[[bin]]
name = "harn-container-probe"
path = "src/bin/harn-container-probe.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.axum-server]
version = "0.8"
features = ["tls-rustls"]
[dependencies.base64]
version = "0.22"
[dependencies.blake3]
version = "1"
[dependencies.chrono-tz]
version = "0.10.4"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
"string",
]
[dependencies.clap_complete]
version = "4"
[dependencies.croner]
version = "3.0.1"
[dependencies.ed25519-dalek]
version = "2"
features = [
"pem",
"pkcs8",
]
[dependencies.flate2]
version = "1"
[dependencies.fs2]
version = "0.4"
[dependencies.futures]
version = "0.3"
[dependencies.harn-fmt]
version = "0.8"
[dependencies.harn-hostlib]
version = "0.8"
optional = true
[dependencies.harn-ir]
version = "0.8"
[dependencies.harn-lexer]
version = "0.8"
[dependencies.harn-lint]
version = "0.8"
[dependencies.harn-modules]
version = "0.8"
[dependencies.harn-parser]
version = "0.8"
[dependencies.harn-serve]
version = "0.8"
[dependencies.harn-skills]
version = "0.8"
[dependencies.harn-stdlib]
version = "0.8"
[dependencies.harn-vm]
version = "0.8"
features = [
"otel",
"testbench-wasi",
]
[dependencies.hmac]
version = "0.13"
[dependencies.include_dir]
version = "0.7"
[dependencies.jmespath]
version = "0.5.0"
[dependencies.jsonschema]
version = "0.46.4"
default-features = false
[dependencies.jsonwebtoken]
version = "10"
features = [
"use_pem",
"aws_lc_rs",
]
default-features = false
[dependencies.notify]
version = "8"
[dependencies.nu-ansi-term]
version = "0.50"
[dependencies.rand]
version = "0.10"
[dependencies.reedline]
version = "0.47"
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"blocking",
"stream",
]
default-features = false
[dependencies.rpassword]
version = "7"
[dependencies.rustls]
version = "0.23"
features = ["aws-lc-rs"]
[dependencies.semver]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yml]
version = "0.0.12"
[dependencies.sha2]
version = "0.11"
[dependencies.subtle]
version = "2.6"
[dependencies.tar]
version = "0.4"
default-features = false
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
]
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"signal",
"sync",
"time",
"process",
]
[dependencies.toml]
version = "1.1"
[dependencies.tower]
version = "0.5"
features = ["util"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
]
[dependencies.webbrowser]
version = "1"
[dependencies.which]
version = "8"
[dev-dependencies.rcgen]
version = "0.14"
[dev-dependencies.tokio-tungstenite]
version = "0.29"
features = [
"connect",
"rustls-tls-webpki-roots",
]
default-features = false
[dev-dependencies.wat]
version = "1"
[build-dependencies.harn-stdlib]
version = "0.8"
[build-dependencies.harn-vm]
version = "0.8"
features = [
"otel",
"testbench-wasi",
]
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[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