Current section

Files

Jump to
multipartkit gleam.toml
Raw

gleam.toml

name = "multipartkit"
version = "0.15.0"
description = "Multipart body parsing and generation primitives for Gleam on Erlang and JavaScript targets"
licences = ["MIT"]
repository = { type = "github", user = "nao1215", repo = "multipartkit" }
links = [
  { title = "Repository", href = "https://github.com/nao1215/multipartkit" },
  { title = "Changelog", href = "https://github.com/nao1215/multipartkit/blob/main/CHANGELOG.md" },
]
gleam = ">= 1.14.0"

[dependencies]
gleam_stdlib = ">= 0.44.0 and < 2.0.0"
gleam_yielder = ">= 1.0.0 and < 2.0.0"
mimetype = ">= 0.24.0 and < 1.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
glinter = ">= 2.14.0 and < 3.0.0"
metamon = ">= 0.6.0 and < 1.0.0"

[tools.glinter]
warnings_as_errors = true
include = ["src/", "test/"]

[tools.glinter.rules]
label_possible = "off"
unused_exports = "off"

[tools.glinter.ignore]
"test/**/*.gleam" = [
  "assert_ok_pattern",
  "missing_type_annotation",
  "unused_exports",
  "short_variable_name",
  "thrown_away_error",
]
"src/multipartkit/parser.gleam" = ["deep_nesting", "prefer_guard_clause"]
"src/multipartkit/stream.gleam" = ["deep_nesting", "prefer_guard_clause"]
"src/multipartkit/internal/scan.gleam" = ["deep_nesting", "prefer_guard_clause"]
"src/multipartkit/internal/bytes.gleam" = ["prefer_guard_clause"]
"src/multipartkit/internal/headers.gleam" = ["prefer_guard_clause"]
"src/multipartkit/header.gleam" = ["deep_nesting"]