remove `Deserialize` from `Settings`

Offen
#40 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
56/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

Start by locating the Settings definition and its Deserialize derive or implementation, then check its consumers and tests for assumptions about deserialization and presets such as minimal and typical. Remove deserialization support from Settings and update affected callers or tests; done when the crate builds and its relevant tests pass.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Settings initially included Deserialize to support test that would specify specific typespace settings. Once default went away and we required consumers to select from presets (minimal, typical, etc.) this became a little awkward. I think a better approach is for consumers to have their own format to deserialize into and then apply deltas against Settings.

Vorherrschende Sprache
Rust
Sterne
4
Forks
4
Ø Merge
15 Std. 16 Min.
Gemergte PRs (30 T.)
26

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus oxidecomputer/typespace

Alle Issues in oxidecomputer/typespace

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.