Skip to content

kopium library pre-publish follow-ups #381

@clux

Description

@clux

quick notes on things i think can be improved oob;

  • make build.rs example deterministic sans/reqwest/tokio Build script examples #380
  • make warning header generation (generated by kopium) an opt-in the TypeGenerator (it's hard to find kopium version from a library build.rs) - show flags used instead of cli flags when using lib interface and use it in build.rs
  • make unique required vectors such as derive_traits be a BTreeSet to avoid checking for uniqueness on inserting
  • try to move TypeGenerator::generate_rust_types_for align with Display (see https://github.com/kube-rs/kopium/pull/376/files#r2393927175)

also note to myself to remember to verify docs.rs output before publishing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions