Measure the width of text in the terminal and build simple layouts!
1.1 kB
35 lines
1name = "string_width"
2version = "3.4.3"
3gleam = ">= 1.13.0"
4description = "Layout and measure the sizes of a strings printed in the terminal!"
5licences = ["BSD-3-Clause"]
6repository = { type = "gitlab", user = "arkandos", repo = "string-width" }
7
8links = [
9 { title = "Grapheme Clusters and Terminal Emulators", href = "https://mitchellh.com/writing/grapheme-clusters-in-terminals" }
10]
11
12[documentation]
13pages = [
14 { title = "Internals", path = "internals.html", source = "./internals.md" },
15]
16
17
18# Fill out these fields if you intend to generate HTML documentation or publish
19# your project to the Hex package manager.
20#
21# description = ""
22# licences = ["Apache-2.0"]
23# repository = { type = "github", user = "", repo = "" }
24# links = [{ title = "Website", href = "" }]
25#
26# For a full reference of all the available options, you can have a look at
27# https://gleam.run/writing-gleam/gleam-toml/.
28
29[dependencies]
30gleam_stdlib = ">= 0.40.0 and < 2.0.0"
31
32[dev-dependencies]
33gleeunit = ">= 1.0.0 and < 2.0.0"
34simplifile = ">= 2.1.0 and < 3.0.0"
35gleam_regexp = ">= 1.1.1 and < 2.0.0"