Skip to content

Conversation

@m-005
Copy link
Member

@m-005 m-005 commented Jan 21, 2026

Part 1 of the Foundation stage for objects-node daemon.

Changes

Adds configuration type definitions for the node daemon:

  • NodeConfig - Main configuration struct with nested settings
  • NodeSettings - Data directory, API port, and bind address
  • NetworkSettings - Relay URL and discovery topic
  • StorageSettings - Blob size and total storage limits
  • IdentitySettings - Registry URL

All structs include:

  • Default implementations with sensible values
  • Serde serialization support
  • Comprehensive documentation

Testing

  • Default value tests
  • Serialization round-trip tests

Dependencies

  • Added toml crate for TOML file parsing
  • Added thiserror for error handling

Created using jj-spr 0.1.0
@m-005 m-005 closed this Jan 21, 2026
m-005 added a commit that referenced this pull request Jan 21, 2026
Part 1 of the Foundation stage for objects-node daemon.

## Changes

Adds configuration type definitions for the node daemon:

- NodeConfig - Main configuration struct with nested settings
- NodeSettings - Data directory, API port, and bind address
- NetworkSettings - Relay URL and discovery topic
- StorageSettings - Blob size and total storage limits
- IdentitySettings - Registry URL

All structs include:
- Default implementations with sensible values
- Serde serialization support
- Comprehensive documentation

## Testing

- Default value tests
- Serialization round-trip tests

## Dependencies

- Added toml crate for TOML file parsing
- Added thiserror for error handling

Part of the Foundation stage (1/4). Next: Config Loading (#35).

Pull Request: #38
@m-005 m-005 deleted the spr/m-005/config-types-nodeconfig-struct-definitions-1 branch January 23, 2026 23:26
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