Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustc serialize support for MessageItem #10

Closed
hugoduncan opened this issue Feb 15, 2015 · 4 comments
Closed

Rustc serialize support for MessageItem #10

hugoduncan opened this issue Feb 15, 2015 · 4 comments

Comments

@hugoduncan
Copy link
Contributor

Is there any interest in moving rustc serialize support for ItemMessage into dbus-rs?

@diwic
Copy link
Owner

diwic commented Feb 15, 2015

Yes, very much so! Especially if it can do a bit more advanced stuff, such as converting an BTreeMap<String, MessageItem> to an Array of DictEntry(Str, Variant). From a quick look at your code, it does not look like you're there yet, though.

(Btw, completely unrelated: due to another issue dbus-rs was just renamed to dbus on crates.io.)

@diwic diwic changed the title Rustc serialize support for ItemMessage Rustc serialize support for MessageItem Feb 15, 2015
@diwic
Copy link
Owner

diwic commented Feb 15, 2015

I currently have some helper functions (MessageItem::from_dict, and parse_msg_str and parse_msg_variant in objpath.rs) that could potentially use serialization instead.

@diwic
Copy link
Owner

diwic commented Jun 28, 2015

Might be interesting to you - it's not serialization support, but it makes moving into/from MessageItem easier: 4a165f6

@diwic
Copy link
Owner

diwic commented Nov 4, 2016

I'm closing this oldie in favor of #56 - I prefer msgarg over MessageItem these days, so I'm not going to work on this any time soon.

@diwic diwic closed this as completed Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants