Revisit `default` and `full` feature flags in cot

Aperta
#720 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
build-system

Direzione di ricerca

Start by locating the cot crate's feature declarations and the project template that enables full, then compare which features each flag enables. Decide which features belong in default based on the stated goal of covering the needs of 95% of users, and verify that full still enables the intended set. The issue gives no tests or acceptance list, so confirm the proposed split with maintainers before changing the flags.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

C-lib good first issue

The default-features in the cot crate enable quite a lot of stuff that might not be useful for a lot of people - for example, it enables all database backends even though the user might only be interested in one (or maybe two).

We already have a full feature flag that enables almost everything and is used by default in the project template. I think that we should only enable stuff useful for 95%+ of the people in default, and keep the rest in full.

We should do this by the time we release 1.0, as changing default will be a breaking change.

Lingua principale
Rust
Stelle
1.1k
Fork
57
Merge medio
17h 39m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cot-rs/cot

Tutte le issue di cot-rs/cot

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.