okami.mom/albedo

git clone https://git.nkp.pet/okami.mom/albedo

dawnrequests: fit history images over the provider's edge by appending image fit rows to the transcriptb2e29fd

main
1.3 KiB33 linesraw
1[package]
2name = "albedo-render"
3version = "0.1.0"
4edition = "2024"
5description = "Renders a range of a source file as syntax-highlighted PNG pages, and fits images to a size"
6license = "WTFPL"
7publish = false
8
9[dependencies]
10arborium-highlight = "2.18.2"
11arborium-theme = "2.18.2"
12fontdue = "0.9.4"
13image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
14png = "0.18.1"
15unicode-width = "0.2.2"
16
17# Grammars are compiled in; a file in any other language renders unhighlighted.
18[dependencies.arborium]
19version = "2.18.2"
20features = [
21    "lang-bash", "lang-c", "lang-c-sharp", "lang-clojure", "lang-cmake", "lang-cpp",
22    "lang-css", "lang-dart", "lang-diff", "lang-dockerfile", "lang-elixir", "lang-erlang",
23    "lang-fish", "lang-gleam", "lang-go", "lang-haskell", "lang-hcl", "lang-html",
24    "lang-ini", "lang-java", "lang-javascript", "lang-json", "lang-just", "lang-kotlin",
25    "lang-lua", "lang-make", "lang-markdown", "lang-nix", "lang-ocaml", "lang-php",
26    "lang-proto", "lang-python", "lang-ruby", "lang-rust", "lang-scala", "lang-scss",
27    "lang-sql", "lang-svelte", "lang-swift", "lang-toml", "lang-tsx", "lang-typescript",
28    "lang-vue", "lang-xml", "lang-yaml", "lang-zig", "lang-zsh",
29]
30
31[profile.release]
32lto = "thin"
33strip = true