name = "sparklinekit"
version = "0.2.0"
description = "Sparkline generator for Gleam — Unicode block output for terminals, SVG output for the browser, and PNG byte arrays. Themed colour schemes, anti-aliased PNG, runs on Erlang and JavaScript."
licences = ["MIT"]
repository = { type = "github", user = "nao1215", repo = "sparklinekit" }
links = [
{ title = "Repository", href = "https://github.com/nao1215/sparklinekit" },
{ title = "Changelog", href = "https://github.com/nao1215/sparklinekit/blob/main/CHANGELOG.md" },
]
gleam = ">= 1.15.0"
[dependencies]
gleam_stdlib = ">= 0.44.0 and < 2.0.0"
[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
glinter = ">= 2.14.0 and < 3.0.0"
simplifile = ">= 2.4.0 and < 3.0.0"
[tools.glinter]
warnings_as_errors = true
include = ["src/", "test/"]
[tools.glinter.rules]
label_possible = "off"
prefer_guard_clause = "off"
short_variable_name = "off"
unused_exports = "off"
# Idiomatic fallbacks (`Error(_) -> default`) are intentional in the
# renderer — they let a malformed colour string fall back to the
# theme default without dragging Result through every call site.
thrown_away_error = "off"
# The PNG / area-fill renderers discard the result of intermediate
# `let _ = ...` bindings on purpose to silence warnings about
# pattern-matched fields we don't yet need.
discarded_result = "off"
[tools.glinter.ignore]
"test/**/*.gleam" = [
"assert_ok_pattern",
"missing_type_annotation",
"short_variable_name",
"unused_exports",
]