{"action":"created","issue":{"url":"https://api.github.com/repos/livioribeiro/rusted-cypher/issues/5","labels_url":"https://api.github.com/repos/livioribeiro/rusted-cypher/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/livioribeiro/rusted-cypher/issues/5/comments","events_url":"https://api.github.com/repos/livioribeiro/rusted-cypher/issues/5/events","html_url":"https://github.com/livioribeiro/rusted-cypher/issues/5","id":116231151,"number":5,"title":"rustc_serialize support","user":{"login":"flosse","id":276043,"avatar_url":"https://avatars.githubusercontent.com/u/276043?v=3","gravatar_id":"","url":"https://api.github.com/users/flosse","html_url":"https://github.com/flosse","followers_url":"https://api.github.com/users/flosse/followers","following_url":"https://api.github.com/users/flosse/following{/other_user}","gists_url":"https://api.github.com/users/flosse/gists{/gist_id}","starred_url":"https://api.github.com/users/flosse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flosse/subscriptions","organizations_url":"https://api.github.com/users/flosse/orgs","repos_url":"https://api.github.com/users/flosse/repos","events_url":"https://api.github.com/users/flosse/events{/privacy}","received_events_url":"https://api.github.com/users/flosse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-11T00:04:56Z","updated_at":"2015-12-12T12:58:52Z","closed_at":"2015-12-12T12:58:52Z","body":"At the moment the library forces the user to use `serde` to deserialize the data. That implies a project which depends on `rusted-cyper` can't compile with the stable compiler unless it implements the trait for each struct or use the \"syntex hack\".\r\nCould we provide a function like\r\n\r\n```rust\r\npub fn get_rustc<T: rustc_serialize::Decodable>(&self, column: &str) -> Result<T, GraphError>\r\n```\r\n\r\nat least as long as rust doesn't accept compiler plugins within stable releases?"},"comment":{"url":"https://api.github.com/repos/livioribeiro/rusted-cypher/issues/comments/164147732","html_url":"https://github.com/livioribeiro/rusted-cypher/issues/5#issuecomment-164147732","issue_url":"https://api.github.com/repos/livioribeiro/rusted-cypher/issues/5","id":164147732,"user":{"login":"livioribeiro","id":3456335,"avatar_url":"https://avatars.githubusercontent.com/u/3456335?v=3","gravatar_id":"","url":"https://api.github.com/users/livioribeiro","html_url":"https://github.com/livioribeiro","followers_url":"https://api.github.com/users/livioribeiro/followers","following_url":"https://api.github.com/users/livioribeiro/following{/other_user}","gists_url":"https://api.github.com/users/livioribeiro/gists{/gist_id}","starred_url":"https://api.github.com/users/livioribeiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livioribeiro/subscriptions","organizations_url":"https://api.github.com/users/livioribeiro/orgs","repos_url":"https://api.github.com/users/livioribeiro/repos","events_url":"https://api.github.com/users/livioribeiro/events{/privacy}","received_events_url":"https://api.github.com/users/livioribeiro/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T12:58:52Z","updated_at":"2015-12-12T12:58:52Z","body":"The only downside is that it might harm performance a little bit (didn't check it).\r\nHowever, since you're using Rust and usually the network is the bottleneck, it may not be a problem."}}