txtview 0.1.3

A lightweight terminal text viewer with scrolling, wrapping, line numbers, and an optional interactive scrollbar
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "txtview"
version = "0.1.3"
authors = ["Devstand"]
build = false
exclude = [
    ".vscode/",
    ".zed/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight terminal text viewer with scrolling, wrapping, line numbers, and an optional interactive scrollbar"
readme = "README.md"
keywords = [
    "terminal",
    "tui",
    "text-viewer",
    "crossterm",
]
categories = [
    "command-line-interface",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/iamdevstand/txtview"

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

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

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

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

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

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

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

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

[[test]]
name = "txtview"
path = "tests/txtview.rs"

[dependencies.crossterm]
version = "0.29"
features = [
    "events",
    "windows",
]
default-features = false

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

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