Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently tonic_support.rs implements a single trait Connect from tonic (impl Connected for VsockStream) This trait is relatively stable on the tonci side. It was modified last by e5e311853bff347355722bc829d40f54e8954aee 3.5 years ago and was included into tonic v0.5.0 (see git tag --contains e5e311853bff347355722bc829d40f54e8954aee). The trait has not been modified since then up to the current tonic tag of v0.12.3. So, let's relax the dependency version requirements to make the most recent version of tokio-vsock usable with older versions of tonic. Motivation for this change is that in complex projects it is not easy to move between arbitrary versions of tonic (which is a major dependency) to be able to use the most recent version of tokio-vsock (or use it with tonic v.0.9.x, that is not support by versions of tonic-vsock). Given that tonic-vsock's dependency on tonic is very limit (impls a single relatively stable trait), relaxing the version should be safe.
- Loading branch information