{"id":13535354,"url":"https://github.com/mneumann/rust-msgpack","last_synced_at":"2025-04-02T01:30:37.079Z","repository":{"id":6009357,"uuid":"7232582","full_name":"mneumann/rust-msgpack","owner":"mneumann","description":"[DEPRECATED] msgpack.org implementation for Rust language. Please use https://github.com/3Hren/msgpack-rust","archived":true,"fork":false,"pushed_at":"2020-08-18T10:10:04.000Z","size":172,"stargazers_count":121,"open_issues_count":14,"forks_count":31,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-06T11:34:52.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mneumann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-19T00:16:02.000Z","updated_at":"2024-07-31T05:12:52.000Z","dependencies_parsed_at":"2022-09-12T09:51:44.663Z","dependency_job_id":null,"html_url":"https://github.com/mneumann/rust-msgpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneumann%2Frust-msgpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneumann%2Frust-msgpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneumann%2Frust-msgpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mneumann%2Frust-msgpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mneumann","download_url":"https://codeload.github.com/mneumann/rust-msgpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222788514,"owners_count":17037777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T08:00:54.670Z","updated_at":"2024-11-02T23:31:19.108Z","avatar_url":"https://github.com/mneumann.png","language":"Rust","readme":"\u003e :warning: **WARNING: This is no longer maintained nor works with current versions of Rust!\nPlease use https://github.com/3Hren/msgpack-rust instead.**\n\n# rust-msgpack [![Build Status][travis-image]][travis-link]\n\n[travis-image]: https://travis-ci.org/mneumann/rust-msgpack.png?branch=master\n[travis-link]: https://travis-ci.org/mneumann/rust-msgpack\n\n[Msgpack][msgpack-home] implementation for [Rust][rust-home] language.\n\n[msgpack-home]: http://www.msgpack.org\n[rust-home]: http://www.rust-lang.org\n\n## Installation\n\nSimply include the rust-msgpack in your Cargo dependencies.\n\n```toml\n[dependencies.msgpack]\n\ngit = \"git@github.com:mneumann/rust-msgpack.git\"\n```\n\n## Quickstart\n\n```rust\nextern crate msgpack;\n\nfn main() {\n  let arr = vec![\"str1\".to_string(), \"str2\".to_string()];\n  let str = msgpack::Encoder::to_msgpack(\u0026arr).ok().unwrap();\n  println!(\"Encoded: {}\", str);\n\n  let dec: Vec\u003cString\u003e = msgpack::from_msgpack(str).ok().unwrap();\n  println!(\"Decoded: {}\", dec);\n}\n```\n\nTo enable your own data structures to be automatically serialized from and to\nmsgpack, derive from \u003ccode\u003eEncodable\u003c/code\u003e and \u003ccode\u003eDecodable\u003c/code\u003e as shown\nin the following example:\n\n```rust\nextern crate serialize;\n\n#[deriving(Encodable,Decodable)]\nstruct MyStruct {\n  a: Vec\u003cu32\u003e,\n  s: String\n}\n```\n\n## Testing\n\n```\ncargo test\n```\n\n## License\n\nThis code licensed under the same terms as Rust itself: dual MIT/Apache2 license options.\n","funding_links":[],"categories":["代码"],"sub_categories":["编码"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmneumann%2Frust-msgpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmneumann%2Frust-msgpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmneumann%2Frust-msgpack/lists"}