Rename the project to FieldCraft

Crates fieldcraft-*, binaries fieldcraft and fieldcraft-cli, the .fieldcraft file (format tag
fieldcraft/1, manifest fieldcraft.json), FIELDCRAFT_* environment variables, the MCP server
name, egui widget ids (fc_*), the app icon document FieldCraft.icon and its generated family,
docs and licences. No compatibility shim: no files of the earlier name exist.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NmAttHhUZTokgPeEJia8sm
This commit is contained in:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-13 23:51:40 -04:00
1 parent 9bc4e1b182
commit d5bd74570f
268 files changed
+1666 -1666

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
//! `corpus [--part NAME] [--no-write]`: see [`modelcraft_testkit::runner`]; run it as
//! `corpus [--part NAME] [--no-write]`: see [`fieldcraft_testkit::runner`]; run it as
//! `cargo xtask corpus`.
//!
//! `corpus --part NAME --design PATH` writes that part's `.solidcraft` design to `PATH` instead
@@ -31,7 +31,7 @@ fn main() -> ExitCode {
let result = match (design, only) {
(Some(path), Some(name)) => write_design(name, Path::new(path)),
(Some(_), None) => Err(format!("--design needs --part\n{USAGE}")),
(None, _) => modelcraft_testkit::runner::run(&modelcraft_testkit::corpus::workspace_root(), only, write),
(None, _) => fieldcraft_testkit::runner::run(&fieldcraft_testkit::corpus::workspace_root(), only, write),
};
match result {
Ok(()) => ExitCode::SUCCESS,
@@ -44,9 +44,9 @@ fn main() -> ExitCode {
/// Write the design of the corpus part `name` to `path`.
fn write_design(name: &str, path: &Path) -> Result<(), String> {
let parts = modelcraft_testkit::corpus::parts().map_err(|e| e.to_string())?;
let parts = fieldcraft_testkit::corpus::parts().map_err(|e| e.to_string())?;
let part = parts.iter().find(|p| p.name == name).ok_or_else(|| format!("no corpus part named `{name}`"))?;
let bytes = modelcraft_testkit::corpus::design_bytes(part).map_err(|e| e.to_string())?;
let bytes = fieldcraft_testkit::corpus::design_bytes(part).map_err(|e| e.to_string())?;
std::fs::write(path, bytes).map_err(|e| format!("{}: {e}", path.display()))?;
eprintln!("corpus: wrote {} ({name})", path.display());
Ok(())
+3 -3
View File
@@ -1,11 +1,11 @@
//! `oracle [--case NAME]... [--bless NAME|all]... [--quick] [--no-write]`: see
//! [`modelcraft_testkit::oracle`]; run it as `cargo xtask oracle`.
//! [`fieldcraft_testkit::oracle`]; run it as `cargo xtask oracle`.
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
#![forbid(unsafe_code)]
use std::process::ExitCode;
use modelcraft_testkit::oracle::{Options, run};
use fieldcraft_testkit::oracle::{Options, run};
const USAGE: &str = "usage: oracle [--case NAME]... [--bless NAME|all]... [--quick] [--no-write]";
@@ -33,7 +33,7 @@ fn main() -> ExitCode {
return ExitCode::FAILURE;
}
}
match run(&modelcraft_testkit::corpus::workspace_root(), &options) {
match run(&fieldcraft_testkit::corpus::workspace_root(), &options) {
Ok(()) => ExitCode::SUCCESS,
Err(e) => {
eprintln!("error: {e}");