{"action":"created","issue":{"url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust/issues/20","repository_url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust","labels_url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust/issues/20/comments","events_url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust/issues/20/events","html_url":"https://github.com/dwrensha/capnp-rpc-rust/issues/20","id":200277728,"number":20,"title":"Compatibilty with `tokio-proto` and `tokio-service`","user":{"login":"0nkery","id":13167203,"avatar_url":"https://avatars.githubusercontent.com/u/13167203?v=3","gravatar_id":"","url":"https://api.github.com/users/0nkery","html_url":"https://github.com/0nkery","followers_url":"https://api.github.com/users/0nkery/followers","following_url":"https://api.github.com/users/0nkery/following{/other_user}","gists_url":"https://api.github.com/users/0nkery/gists{/gist_id}","starred_url":"https://api.github.com/users/0nkery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0nkery/subscriptions","organizations_url":"https://api.github.com/users/0nkery/orgs","repos_url":"https://api.github.com/users/0nkery/repos","events_url":"https://api.github.com/users/0nkery/events{/privacy}","received_events_url":"https://api.github.com/users/0nkery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-12T04:48:17Z","updated_at":"2017-01-12T16:16:20Z","closed_at":null,"body":"Currently, this crate is compatible with `tokio` and `futures` via `tokio-core` at relatively low-level.\r\n\r\nWould it make sense to implement higher-level rpc system based on `tokio-proto` and `tokio-service`?\r\n\r\nThe main advantage, as I see it, is to have more composable and reusable moving parts that can incorporate (or can be incorporated) with the rest of `tokio` ecosystem.\r\n\r\nOr you already have such plans but the main issue in having enough time to refactor everything? :)"},"comment":{"url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust/issues/comments/272206730","html_url":"https://github.com/dwrensha/capnp-rpc-rust/issues/20#issuecomment-272206730","issue_url":"https://api.github.com/repos/dwrensha/capnp-rpc-rust/issues/20","id":272206730,"user":{"login":"0nkery","id":13167203,"avatar_url":"https://avatars.githubusercontent.com/u/13167203?v=3","gravatar_id":"","url":"https://api.github.com/users/0nkery","html_url":"https://github.com/0nkery","followers_url":"https://api.github.com/users/0nkery/followers","following_url":"https://api.github.com/users/0nkery/following{/other_user}","gists_url":"https://api.github.com/users/0nkery/gists{/gist_id}","starred_url":"https://api.github.com/users/0nkery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0nkery/subscriptions","organizations_url":"https://api.github.com/users/0nkery/orgs","repos_url":"https://api.github.com/users/0nkery/repos","events_url":"https://api.github.com/users/0nkery/events{/privacy}","received_events_url":"https://api.github.com/users/0nkery/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T16:16:20Z","updated_at":"2017-01-12T16:16:20Z","body":"Middleware - TLS support or logging, for example.\r\n\r\nCodecs would be nice example too. I started to implement codecs [btw](https://github.com/0nkery/capnp-rpc-rust/blob/master/src/codec.rs) (unfortunately I didn't have time to implement packed codec due to some health issues). So in short, packed codec can reuse much of functionality of general codec.\r\n\r\nYup, Cap'n Proto RPC is a complex stateful protocol but `tokio` has nice streaming abstractions which can be quite helpful.\r\n\r\nWould you be interested to consider such way of implementation? I'll try to come up with something closer to existing impl so we can discuss it more practically.\r\n\r\nPS. To clarify - I'm such a newbie in this area, so I'm just asking questions (I hope, not so stupid :)"}}
{"actor":{"display_login":"0nkery"}}