Skip to content

discuss driver list serialization options #77

Open

Description

@amoeba

Do we want to serialize the driver list like this (current behavior):

[drivers]
[drivers.mysql]

[drivers.postgresql]
version = '^1.x.x'

[drivers.sqlite]
version = '^1'

or this?

[drivers]
mysql = {}
postgresql = { version = '^1.x.x' }
sqlite = { version = '^1' }

I think it's reasonable to expect a user will manually edit this file so we might consider the usability of our serialization. I find the second example more understandable but that may be because I'm used to Cargo.toml. Is it possible to serialize that way without custom ser/de routines?

Activity

  1. added this to the 0.1 milestone on Sep 23, 2025
  2. added
    question
    on Sep 23, 2025
  3. modified the milestones: 0.1, 0.1.x on Oct 27, 2025
  4. removed this from the 0.1.x milestone on Jan 20, 2026
  5. added a commit that references this issue on Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    question

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions