jhelovuo / RustDDS

Rust implementation of Data Distribution Service
Apache License 2.0
330 stars 67 forks source link

Make qos serializable #310

Closed tot0k closed 12 months ago

tot0k commented 1 year ago

Hello,

We saw ticket #297 and had already did some related work in our local repo.

Our scope was a bit different: We needed to make the QosPolicyBuilder ser/deserializable, to be able to load it from configuration files, then append/modify QoS Policies before building the QosPolicies struct. It was not a big deal to increase the scope to QosPolicies stuct.

Thus, I suggest this pull-request to resolve ticket #297.

I did not find any contributing guidelines, don't hesitate to tell me if the format doesn't suit you.

Regards,

Thomas

Modification description

Test Performed

What was not tested

Functional impact

One can now Serialize and Deserialize QosPolicies and QosPolicyBuilder using serde.

jhelovuo commented 12 months ago

Thank you. This will be included in the next release.