Lua runner with rich builtin stdlib
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
a/Cargo.toml

58 lines
2.6 KiB

[package]
name = "a"
version = "0.1.0"
edition = "2024"
publish = false
[dependencies]
# OSC 52 clipboard payloads (tui.setClipboard); already in the tree as a
# transitive dependency.
base64 = "0.22"
chrono = "0.4.45"
# Color type + NO_COLOR/CLICOLOR/tty policy for tui.styled; the ANSI SGR
# sequences themselves are emitted by our own renderer (see stdlib/tui/markup.rs).
colored = "3"
env_logger = "0.11"
log = "0.4"
clap = { version = "4.6.1", features = ["derive"] }
dotenvy = "0.15"
futures = "0.3"
# Terminal size + raw-mode backend; already in the tree as inquire's backend
# (keep the version in lockstep with inquire's own crossterm dependency).
crossterm = "0.29"
# Interactive prompts for the tui module. `date` enables DateSelect (chrono),
# `editor` the $EDITOR-based prompt; neither is in the default set.
inquire = { version = "0.9", features = ["date", "editor"] }
mlua = { version = "0.11.6", features = ["lua55", "vendored", "serde", "async", "anyhow"]}
# reqwest's default rustls provider (aws-lc-rs) null-derefs during the TLS
# handshake in this environment, and native-tls would link system OpenSSL.
# Use rustls with the self-contained, vendored `ring` provider (installed as the
# process default in stdlib::http). `rustls-no-provider` stops reqwest from
# pulling aws-lc-rs back in.
reqwest = { version = "0.13.4", default-features = false, features = ["rustls-no-provider", "charset", "http2", "system-proxy", "cookies"] }
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
rusqlite = { version = "0.32", features = ["bundled"] }
# flock() guarding the fs-permission store (access.json) against concurrently
# running scripts; already in the tree as a transitive dependency.
rustix = { version = "1", features = ["fs"] }
rustyline = "14"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
thiserror = "2.0.18"
tokio = { version = "1.52.3", features = ["full"] }
digest_auth = "0.3"
# RFC 6265 cookie jar for http sessions; `public_suffix` rejects cookies scoped
# to a whole TLD (Domain=com) using the vendored assets/public_suffix_list.dat.
cookie_store = { version = "0.22.1", features = ["public_suffix"] }
# Mutex wrapper making cookie_store usable as reqwest's cookie provider.
reqwest_cookie_store = "0.10.0"
# WHATWG application/x-www-form-urlencoded serializer for opts.form; already in
# the tree as a mandatory dependency of url (via reqwest).
form_urlencoded = "1.2.2"
# Public-suffix-list parser consumed by cookie_store's `public_suffix` feature.
publicsuffix = "2.3.0"
[dev-dependencies]
tempfile = "3"
# Local HTTP server for the http module's end-to-end tests.
tiny_http = "0.12.0"