clockworklabs / clockworklabs/SpacetimeDB

CLI: Search upwards for `Cargo.toml` to detect `--project-path`

Open
#2,373 1 comment 0 reactions 1 assignee View on GitHub

@bfops is already working on this.

Since Mar 7, 2025.

Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

Several CLI subcommands (publish, build, generate, possibly others) attempt to determine whether the project is Rust or C# by looking for a Cargo.toml file in the current directory (or the --project-path if passed), and assume C# if the Cargo.toml is not found. This is a bad system and should be changed, but at the very least, they should search up for the Cargo.toml so that it's possible to run the commands from a subdirectory of a Rust project (e.g. in src/).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.