Expose a way to iterate over `DeEvent`s

Aperta
#799 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

Start by reading the internal de::XmlReader::next() implementation and the public DeEvent API to understand how events are produced and what low-level work the reader performs. The request is to expose a pull-based interface that handles tasks such as gluing and trimming Texts; done means callers can use that interface publicly. The issue has had no comment activity for 785 days, so check whether this work is still wanted.

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

Descrizione

enhancement

Right now, there are two main ways to use this library:

  • a rather low-level one, using a Reader
  • a very high-level one, with serde

I would like to have an in-between option, one that still has a pull-based interface, but that would still do a lot of the low-level stuff by itself - like gluing together and trimming Texts, for example.

From what I understand, such an interface already exists internally - I mean the de::XmlReader::next() function, which satisfies all of the above. However, it is not currently exposed publicly, even though the DeEvents themselves are.

Lingua principale
Rust
Stelle
1.6k
Fork
299
Merge medio
2g 4h
PR unite (30g)
9

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 tafia/quick-xml

Tutte le issue di tafia/quick-xml

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.