richrs 0.2.1

A Rust port of the Rich Python library for beautiful terminal output
Documentation
[[bench]]
harness = false
name = "benchmarks"
path = "benches/benchmarks.rs"

[[bin]]
name = "richrs"
path = "src/main.rs"

[[bin]]
name = "richrs_test_runner"
path = "src/test_runner.rs"

[dependencies.crossterm]
version = "0.28"

[dependencies.once_cell]
version = "1.20"

[dependencies.pulldown-cmark]
optional = true
version = "0.10"

[dependencies.regex]
version = "1.11"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.syntect]
default-features = false
features = ["default-fancy"]
optional = true
version = "5.2"

[dependencies.thiserror]
version = "2.0"

[dependencies.unicode-segmentation]
version = "1.12"

[dependencies.unicode-width]
version = "0.2"

[dev-dependencies.cargo-tarpaulin]
version = "0.31"

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

[dev-dependencies.insta]
features = ["json"]
version = "1.41"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.proptest]
version = "1.5"

[[example]]
name = "emoji"
path = "examples/emoji.rs"

[[example]]
name = "panels"
path = "examples/panels.rs"

[[example]]
name = "progress"
path = "examples/progress.rs"

[[example]]
name = "spinners"
path = "examples/spinners.rs"

[[example]]
name = "styling"
path = "examples/styling.rs"

[[example]]
name = "tables"
path = "examples/tables.rs"

[[example]]
name = "trees"
path = "examples/trees.rs"

[features]
default = []
full = ["syntax", "markdown", "json"]
json = []
markdown = ["dep:pulldown-cmark"]
syntax = ["dep:syntect"]

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

[lints.clippy]
arithmetic_side_effects = "allow"
as_conversions = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cognitive_complexity = "allow"
dbg_macro = "warn"
default_numeric_fallback = "allow"
doc_markdown = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "warn"
float_arithmetic = "allow"
format_push_string = "allow"
implicit_return = "allow"
indexing_slicing = "allow"
integer_division = "allow"
iter_without_into_iter = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_inline_in_public_items = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
modulo_arithmetic = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
panic = "warn"
pattern_type_mismatch = "allow"
print_stderr = "allow"
print_stdout = "allow"
range_plus_one = "allow"
redundant_clone = "allow"
redundant_pub_crate = "allow"
semicolon_outside_block = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
should_implement_trait = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_char_pattern = "allow"
str_to_string = "allow"
string_add = "allow"
string_slice = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
todo = "warn"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unimplemented = "warn"
uninlined_format_args = "allow"
unnecessary_map_or = "allow"
unnested_or_patterns = "allow"
unused_peekable = "allow"
unwrap_used = "warn"
use_self = "allow"

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

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

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

[lints.rust]
dead_code = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"
unused_must_use = "warn"

[lints.rust.unused]
level = "warn"
priority = -1

[package]
authors = ["Oliver Rice"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-interface", "text-processing"]
default-run = "richrs"
description = "A Rust port of the Rich Python library for beautiful terminal output"
edition = "2024"
keywords = ["terminal", "console", "ansi", "color", "formatting"]
license = "MIT"
name = "richrs"
readme = "README.md"
repository = "https://github.com/olirice/richrs"
rust-version = "1.85"
version = "0.2.1"

[profile.dev]
debug = 2
opt-level = 0

[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"
strip = true

[profile.test]
debug = 2
opt-level = 0