sued 0.24.2

shut up editor - a minimalist line-based text editor written in Rust
Documentation
[package]
name = "sued"
description = "shut up editor - a minimalist line-based text editor written in Rust"
version = "0.24.2"
edition = "2021"
license = "Apache-2.0"
keywords = ["text", "editor", "ed"]
categories = ["text-editors", "command-line-utilities"]
repository = "https://codeberg.org/AeriaVelocity/sued"
homepage = "https://aeriavelocity.codeberg.page/sued/"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
# sued as a text editor
name = "sued"
path = "src/main.rs"

[lib]
# sued as a library
name = "sued"
path = "src/lib.rs"
crate-type = [
    "rlib",     # for integrating into other Rust projects statically
]

[dependencies]
# Required by sued as a whole package
rand = "0.8.5"
which = "4.4.2"
shellexpand = "3.1.0"
regex = "1.11.1"
copypasta = "0.8.2"

# Required only by sued as a text editor
rustyline = { version = "15.0.0", optional = true }
sudo = "0.6.0"
is_elevated = "0.1.2"
mlua = { version = "0.10.1", features = ["lua54"], optional = true }

[features]

## Flag Groups ##

# To disable the core editor commands, specify `--no-default-features` at the
# Cargo invocation and manually choose the specific feature flags you want.
# At the very least, you should have `inputoutput` enabled if you want to be able
# to save and open files.
default = ["core"]

# Provides all categories of sued's editor commands. These are needed to supply
# actual functionality to the editor.
# All of these are enabled as part of the editor core, but can be configured out
# at the user's will.
core = ["informational", "inputoutput", "cursor", "transformations", "shell", "fun"]

# Provides access to sued as a text editor in its most basic form.
# This is the feature flag version of syntactic sugar - you could instead
# specify `--features=repl` since `core` is a default feature.
editor = ["core", "repl"]

# This gives you sued as a text editor with batteries included.
# Provides everything in sued that's considered usable and kind of stable.
most = ["editor", "startup", "history", "lua"]

# Provides absolutely everything in sued, regardless of usability, stability or 
# anything good or holy.
# Previously, this group contained the C Foreign Function Interface feature,
# but that module has since been completely removed and superseded by the
# Lua bindings.
full = ["most"]

## Feature Flags ##

# Provides access to sued's Read-Eval-Print Loop. This is a required feature for sued as a text editor.
repl = ["rustyline"]

informational = []
inputoutput = []
cursor = []
transformations = []
shell = []
fun = []

# Provides access to sued's funny startup messages.
startup = []

# Provides access to sued's command history feature.
history = []

# Provides access to sued's Lua bindings, for extending the editor and creating
# commands with Lua.
lua = ["mlua"]