k9withabone / compose_spec_rs

Rust library for (de)serializing from/to the compose-spec
https://crates.io/crates/compose_spec
Mozilla Public License 2.0
3 stars 0 forks source link

feat(service): add `Limit` string conversions #33

Closed k9withabone closed 3 weeks ago

k9withabone commented 3 weeks ago

Added Display and FromStr implementations to compose_spec::service::Limit.

Changed the string deserialization logic of Limit to deserialize the string "-1" as Limit::Unlimited.