Closed adhadse closed 5 months ago
Yeah, the docker-compose-types
library keeps making breaking changes without respecting semver. I'm currently working on a replacement (compose_spec_rs) which is almost ready. Use cargo install --locked podlet
for now.
I instead opted for build and install of binstall
and install podlet
with binstall
instead. Worked!
@k9withabone I'm open to additional maintainers for the crate, I have very little free time and am perhaps a little over-enthusiastic with accepting contributions.
@stephanbuys The semver breaking wasn't the only reason I decided to start a new library. The compose_spec
library has a bit of a different focus compared to docker-compose-types
. It only supports the Compose specification instead of trying to simultaneously support past versions of docker compose as well. Also, it does full parsing and validation of fields with defined formats as opposed to just deserializing to a String
or other basic type. Part of that is ensuring correctness, as much as possible, via types, like using enums for fields which conflict with each other. I also want the library to eventually support other things defined in the Compose specification like interpolation and merging.
The new library is almost ready for its first release if you want to take a look at it. To get docker-compose-types
into a similar form would have basically required a complete rewrite, so it made more sense to make a new library.
I was tying to install podlet with rustc (1.77.0) and encountered this error.
Similar case happens with version
0.2.4
as well.