retroglyph-core 0.2.1

A 2D pseudographic terminal library -- core types, no backend
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.88"
name = "retroglyph-core"
version = "0.2.1"
authors = ["Matan Lurey <matan@lurey.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A 2D pseudographic terminal library -- core types, no backend"
readme = "README.md"
keywords = [
    "roguelike",
    "terminal",
    "grid",
    "gamedev",
]
categories = [
    "game-development",
    "graphics",
]
license = "MIT"
repository = "https://github.com/crates-lurey-io/retroglyph"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "std",
    "egc",
    "gem",
]
egc = ["dep:unicode-segmentation"]
gem = [
    "dep:gem",
    "gem/libm",
    "dep:alpha-blend",
    "alpha-blend/libm",
]
std = [
    "gem?/std",
    "alpha-blend?/std",
]

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

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

[dependencies.alpha-blend]
version = "0.2"
optional = true
default-features = false

[dependencies.bitflags]
version = "2.4"

[dependencies.gem]
version = "0.1.0-alpha.6"
optional = true
default-features = false

[dependencies.grixy]
version = "0.6.0-alpha.8"
features = [
    "alloc",
    "buffer",
]

[dependencies.ixy]
version = "0.6.0-alpha.9"

[dependencies.libm]
version = "0.2"

[dependencies.unicode-segmentation]
version = "1.13"
optional = true
default-features = false

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

[dev-dependencies.insta]
version = "1.34"
features = ["yaml"]

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

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

[lints.clippy]
missing_errors_doc = "deny"
missing_panics_doc = "deny"
module_name_repetitions = "allow"
must_use_candidate = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

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

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

[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"