Skip to content

rustc-serialize used by eui48 dependency is deprecated #140

@queria

Description

@queria

rustc-serialize is deprecated, from https://github.com/rust-lang-deprecated/rustc-serialize:
NOTE: This crate is deprecated in favor of [serde](https://serde.rs/).

It results in anything using openstack crate producing:
warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
As also it could have security impact too https://rustsec.org/advisories/RUSTSEC-2022-0004

rustc-serialize comes into rust-openstack as dependency of eui48

├── openstack v0.5.0
│   ├── eui48 v1.1.0
│   │   ├── regex v1.9.0 (*)
│   │   ├── rustc-serialize v0.3.24
│   │   └── serde v1.0.168 (*)

eui48 = { version = "^1.0", features = ["disp_hexstring", "serde"] }

eui48 itself does not seems responsive about this issue for a while already

One possible alternative seems to be to switch from eui48 to macaddr e.g.: ewilken/hap-rs#80

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