{"action":"opened","issue":{"url":"https://api.github.com/repos/kuchiki-rs/kuchiki/issues/44","repository_url":"https://api.github.com/repos/kuchiki-rs/kuchiki","labels_url":"https://api.github.com/repos/kuchiki-rs/kuchiki/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/kuchiki-rs/kuchiki/issues/44/comments","events_url":"https://api.github.com/repos/kuchiki-rs/kuchiki/issues/44/events","html_url":"https://github.com/kuchiki-rs/kuchiki/issues/44","id":353897855,"node_id":"MDU6SXNzdWUzNTM4OTc4NTU=","number":44,"title":"Shareable (Send) Document","user":{"login":"theduke","id":241621,"node_id":"MDQ6VXNlcjI0MTYyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/241621?v=4","gravatar_id":"","url":"https://api.github.com/users/theduke","html_url":"https://github.com/theduke","followers_url":"https://api.github.com/users/theduke/followers","following_url":"https://api.github.com/users/theduke/following{/other_user}","gists_url":"https://api.github.com/users/theduke/gists{/gist_id}","starred_url":"https://api.github.com/users/theduke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theduke/subscriptions","organizations_url":"https://api.github.com/users/theduke/orgs","repos_url":"https://api.github.com/users/theduke/repos","events_url":"https://api.github.com/users/theduke/events{/privacy}","received_events_url":"https://api.github.com/users/theduke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-24T19:14:51Z","updated_at":"2018-08-24T19:14:51Z","closed_at":null,"author_association":"NONE","body":"I'm currently writing a media application where users are able to extract data from html pages with custom scripts written in [Gluon](https://github.com/gluon-lang/gluon).\r\n\r\nGluon makes it pretty easy to access Rust data types, but they must be `Send`.\r\n\r\nThe html5ever/kuchiki nodes use Rc<> and so can't be send. \r\n\r\nI've come up with two alternatives that sort of make this work, but they are both ridiculously ugly hacks. (a: have a dedicated parser thread that owns the dom and handles queries with channel communication; b) re-parse on each query and return custom nodes that don't use Rc).\r\n\r\nDo you see any alternative of how I could make this more sensible?"}}
{"actor":{"display_login":"theduke"}}