Skip to content

feat: migrate config from JSON to TOML#49

Merged
sonesuke merged 1 commit intomainfrom
feat/config-toml
Feb 28, 2026
Merged

feat: migrate config from JSON to TOML#49
sonesuke merged 1 commit intomainfrom
feat/config-toml

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

Summary

  • Replace configuration file format from JSON to TOML
  • Update config file extension from config.json to config.toml
  • Add toml crate dependency (v0.8)
  • Update devcontainer setup to create TOML config
  • Update README and E2E tests

Changes

  • Cargo.toml: Add toml = "0.8" dependency
  • src/core/config.rs:
    • Use toml crate instead of serde_json
    • Update CONFIG_FILE constant to config.toml
    • Update tests to use TOML format
  • .devcontainer/post-create.sh: Create config.toml instead of config.json
  • README.md: Update documentation with TOML config examples
  • e2e/cli.rs: Update test expectations for .toml extension

Test plan

  • cargo fmt --check passes
  • cargo clippy -- -D warnings passes
  • Unit tests pass (18 tests)
  • Config CLI tests pass (path, list, set/get)

🤖 Generated with Claude Code

- Replace serde_json with toml for configuration file format
- Update config file extension from .json to .toml
- Update devcontainer setup to create TOML config
- Update README documentation with new config format
- Update E2E tests to expect .toml extension

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonesuke sonesuke merged commit 6d50015 into main Feb 28, 2026
4 checks passed
@sonesuke sonesuke deleted the feat/config-toml branch February 28, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants