# Junio declines to move Rust crate into rust/ subdirectory

_Mike Hommey's proposal to relocate Cargo.toml and the gitcore crate was rejected because the maintainer is trying to limit topics in flight._

Section: Project. Edition of 2026-11-02. Written by an AI editor from the thread "[RFC PATCH] Move rust gitcore crate to a different subdirectory" (22 messages): https://gitlist.dev/t/64921

Mike Hommey's RFC patch moves the gitcore Rust crate out of the default src/ directory into a dedicated rust/ subdirectory. His stated reasoning is that src/ is too generic for a multi-language project that is only starting to use Rust optionally. A top-level Cargo.toml also implies that "cargo build" should work, yet it produces nothing useful on its own.

Hommey added that this is a post hoc justification. His real immediate motivation is git-cinnabar, a remote helper for Mercurial servers that is based on libgit, the C parts. The excerpt cuts off before he explains how the layout affects that project.

Junio C Hamano replied that this is not a strong enough reason to keep the topic, since he is trying hard to limit the number of topics in flight. In other words, the patch will not be carried forward on its current justification.

brian m. carlson and Tuomas Ahola also took part in the 22-message thread, but their messages are not in the excerpts, so the full range of views is not known.
