@@ -9,7 +9,7 @@ The SDK can be used to create CDEvents and send them as CloudEvents, as well as
9
9
Import the modules in your code
10
10
11
11
``` toml
12
- cdevents-sdk = " 0.1.0 "
12
+ cdevents-sdk = " 0.1"
13
13
```
14
14
15
15
To send a CDEvent as CloudEvent:
@@ -60,6 +60,24 @@ fn main() -> Result<(), Box<dyn Error>> {
60
60
61
61
See the [ CloudEvents] ( https://github.com/cloudevents/sdk-rust ) docs as well.
62
62
63
+ ## Features
64
+
65
+ - [x] support cdevents spec 0.3.0
66
+ - [x] support cdevents spec 0.4.1
67
+ - [ ] support of custom event
68
+ - [ ] compile-time generation of type for custom event
69
+ - [ ] runtime validation (download of jsonschemas & validation)
70
+ - [x] serialize/deserialize of custom event (type ` dev.cdeventsx.{subject}.{predicate}.{version} ` )
71
+ - [x] partial validation of custom event (` subject.content ` is not validated, stored as json)
72
+ - [x] Cloudevents support (provide wrapper/extractor for CDEvent)
73
+ - [x] CDEvent stored into static types (=> no use of jsonshema at runtime)
74
+ - [x] rutime validation for scalar types (purl, datetime, uri-reference)
75
+ - [ ] report clear and readable error messages on deserialization
76
+ - [x] provide type with builder pattern (fluent)
77
+ - [x] provide random/sample generator for CDEvent (property based testing)
78
+ - [x] test ` serialization(deserialization(of spec's examples & conformances)) == spec's examples & conformances `
79
+ - [x] test ` serialization(random CDEvent) matches the jsonschemas `
80
+
63
81
## References
64
82
65
83
- [ CDEvents] ( https://cdevents.dev )
0 commit comments