Skip to content

Time crate was updated and is causing the build to fail #311

Description

@togglebyte

Time crate was updated and is causing build failures:

error[E0119]: conflicting implementations of trait `From<format_description::parse::format_item::HourBase>` for
 type `<format_description::parse::format_item::HourBase as format_description::parse::format_item::ModifierVal
ue>::Type`
   --> /home/togglebit/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rcgen-0.14.8/src/lib.rs:359:1
    |
359 | / impl<T> From<T> for OtherNameValue
360 | | where
361 | |     T: Into<String>,
    | |____________________^
    |
    = note: conflicting implementation in crate `time`:
            - impl From<format_description::parse::format_item::HourBase> for <format_description::parse::forma
t_item::HourBase as format_description::parse::format_item::ModifierValue>::Type;
    = note: upstream crates may add a new impl of trait `std::convert::Into<std::string::String>` for type `tim
e::format_description::parse::format_item::HourBase` in future versions

Temporary fix is to pin the time crate to 0.3.47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions