Skip to content

icdev2dev/practical_rkyv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

practical_rkyv

Table of Contents

1. Hello world

Traditional Deserialization

Zero Copy Deserialization

2. Serializing struct of structs

- Transparent Types
- Opaque Types

3. Serializing through Serializers

- Base Use Case 
- Using CompositeSerializer
    - Writer
    - Scratch Space
    - Shared Pointer Map

4. Alternate Writers

- File, 
- ByteBuffer
- ...

5. Extending Serializers

6. Deserializing Subobjects

- Harmonical use of zero-copy-deserialization with traditional deserialization

7. Wrapper Types

- When to use 
- How to use them effectively
    - Customizable serialization
    - Non-default behavior
    - Transparent Foreign Type Support

8. Archived vs original types and impl duplication

9. Streaming in rkyv

- Fixed-size types 
- Two-file solution 
- Manual framing

10. Validation

- bytecheck 
- object subtrees 
- the default validator
- adding validation capabilities

11. Basic Schema evolution

-  Enums of boxed data

12. Advanced Schema Evolution

- No comprehensive proto solution yet

13. Copy optimization and nightly features

14. Derive macro features:

- archive_attr 
- omit_bounds/archive(bound(...)) 
- archive(compare(PartialEq, PartialOrd))

Releases

No releases published

Packages

 
 
 

Languages