Migration Guide
As the project may introduce breaking changes during early development, this document provides a guide for updating your configuration files between versions.
Version 0.0.4 to 0.0.5
Changes in .rrduconfig
- Removed fields
updater.auto-updateandupdater.auto-scan: Asupdater.auto-updateandupdater.auto-scanare no more needed, we removed them from.rrduconfig. These are no breaking changes.
Version 0.0.3 to 0.0.4
Changes in .rrduconfig
- Change value of
updater.auto-update: For better readability we changed the possible values of theupdater.auto-updatetonone,semver-safeandfull. As this key currently is not used, it is not breaking the application.
Version 0.0.1/0.0.2 to 0.0.3
Changes in .rrduconfig
- Renamed
tomltopath:
Starting from version 0.0.3, sub-project.rrduconfigfiles are supported. Therefore, the fieldtomlin theworkspacearray has been renamed topath. - Added
sub-configfield (boolean):false(default): No dedicated.rrduconfigfile for this sub-project.pathpoints directly to the directory /Cargo.toml.true:pathpoints to a sub-project directory containing its own.rrduconfig.
- Changed schema of
exclude:excludewas before a simple list with project wide excluded dependencies. With the 0.0.3 we changed it to a more granular schema which differs between project wide exclusion and section specified exclusion to give more control. - Added
updater.versionfield:
Specifies the configuration schema version for easier compatibility checks.
Rationale: These changes avoid unnecessary discoveries of projects in deep child folders and keep the root
.rrduconfigconcise.
Configuration Diff
# Before (0.0.1):
workspace:
- project: Root
toml: ./
exclude:
- tokio
- serde
- project: WorkspaceCrate
toml: crates/workspace_crate
updater:
exclude:
- excluded_folder
auto-update: none
auto-scan: true
max-lines: 50
# After (0.0.3):
workspace:
- project: Root
path: ./
exclude:
project: # Excludes all named dependencies project wide
- tokio
section: # Excludes all named dependencies from specific sections
dev-dependencies: # Only exclude named dependencies from [dev-dependencies] section
- serde
dependencies.clap: [] # Exclude [dependencies.clap] section in total.
- project: WorkspaceCrate
path: crates/workspace_crate
sub-config: true
updater:
exclude:
- excluded_folder
auto-update: none
auto-scan: true
max-lines: 50
version: 0.0.3