mirror of
https://github.com/martinvonz/jj.git
synced 2025-05-28 10:31:14 +00:00
The paste crate hasn't had a maintainer since Oct. 2024. We don't use it directly, but it's used by ratatui, and there's no direct replacement for it AFAIK. Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0436 This is currently blocking PRs because ci fails: ``` error[unmaintained]: paste - no longer maintained ┌─ /github/workspace/Cargo.lock:262:1 │ 262 │ paste 1.0.15 registry+https://github.com/rust-lang/crates.io-index │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ unmaintained advisory detected │ ├ ID: RUSTSEC-2024-0436 ├ Advisory: https://rustsec.org/advisories/RUSTSEC-2024-0436 ├ The creator of the crate `paste` has stated in the [`README.md`](https://github.com/dtolnay/paste/blob/master/README.md) that this project is not longer maintained as well as archived the repository ├ Announcement: https://github.com/dtolnay/paste ├ Solution: No safe upgrade is available! ├ paste v1.0.15 └── ratatui v0.29.0 └── scm-record v0.5.0 └── jj-cli v0.27.0 └── (dev) jj-cli v0.27.0 (*) advisories FAILED ```
42 lines
1.3 KiB
TOML
42 lines
1.3 KiB
TOML
# The `dev` dependency group sets up tools for building `jj`
|
|
# documentation. `uv` will install these in a virtual environment.
|
|
|
|
[project]
|
|
name = "jj-docs"
|
|
description = "Sets up MkDocs and related Python tools"
|
|
requires-python = ">=3.9"
|
|
version = "0.1.0"
|
|
dependencies = []
|
|
|
|
[dependency-groups]
|
|
# These can be updated with `uv add --dev`.
|
|
dev = [
|
|
"mkdocs<1.7,>=1.6",
|
|
# Pin mkdocs-material to the exact version b/c it sometimes breaks thing
|
|
"mkdocs-material==9.6.4",
|
|
# Versioning of documentation
|
|
"mike<3,>=2.1.3",
|
|
# (Py)Markdown extensions
|
|
"mdx-truly-sane-lists<2.0,>=1.3",
|
|
"mdx-breakless-lists<2.0.0,>=1.0.1",
|
|
# Allows setting up redirects when renaming docs files
|
|
"mkdocs-redirects<2.0.0,>=1.2.1",
|
|
# Used for the CLI reference
|
|
"mkdocs-include-markdown-plugin<8.0.0,>=7.1.4",
|
|
# Unrelated to docs
|
|
"codespell[toml]>=2.4.0",
|
|
]
|
|
|
|
[tool.uv]
|
|
package = false
|
|
|
|
[tool.codespell]
|
|
check-filenames = true
|
|
check-hidden = true
|
|
# Codespell does not respect .gitignore. It may be necessary to add to
|
|
# this list by running e.g. `uv run codespell --skip=./rendered-docs`
|
|
# if you have less common ignored files or globally ignored files present.
|
|
# Alternatively, try `uv run codespell $(jj file list)`.
|
|
skip = "./target,./.jj,*.lock,./.git,./.venv,./.direnv"
|
|
ignore-words-list = "crate,NotIn,Wirth,abd,ratatui"
|