You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are various public functions in the API, such as load_elf_to_flash, which are not extensible in their current form. These functions should be marked as deprecated and be replaced by functions which are extensible. For instance, by taking a #[non_exhaustive] struct containing the required options.
Since we can deprecate the old functions this can be done in a semver-compatible way. We should identify additional functions which need improving and construct a task list below when able.
load_elf_to_flash_with_format
load_elf_to_flash
The text was updated successfully, but these errors were encountered:
Since we are working towards 3.0 we don't need to deprecate functions, we can just remove them to simplify the codebase.
jessebraham
changed the title
Public API needs improvements to make it more extensible without breaking semver
Public API needs improvements to make it more extensible
Nov 15, 2023
There are various public functions in the API, such as
load_elf_to_flash
, which are not extensible in their current form. These functions should be marked as deprecated and be replaced by functions which are extensible. For instance, by taking a#[non_exhaustive]
struct containing the required options.Since we can deprecate the old functions this can be done in a semver-compatible way. We should identify additional functions which need improving and construct a task list below when able.
load_elf_to_flash_with_format
load_elf_to_flash
The text was updated successfully, but these errors were encountered: