{"action":"created","issue":{"url":"https://api.github.com/repos/actix/actix-web/issues/356","repository_url":"https://api.github.com/repos/actix/actix-web","labels_url":"https://api.github.com/repos/actix/actix-web/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/actix/actix-web/issues/356/comments","events_url":"https://api.github.com/repos/actix/actix-web/issues/356/events","html_url":"https://github.com/actix/actix-web/issues/356","id":337195621,"node_id":"MDU6SXNzdWUzMzcxOTU2MjE=","number":356,"title":"error[E0603]: module `actix` is private","user":{"login":"Paradyx","id":10739837,"node_id":"MDQ6VXNlcjEwNzM5ODM3","avatar_url":"https://avatars1.githubusercontent.com/u/10739837?v=4","gravatar_id":"","url":"https://api.github.com/users/Paradyx","html_url":"https://github.com/Paradyx","followers_url":"https://api.github.com/users/Paradyx/followers","following_url":"https://api.github.com/users/Paradyx/following{/other_user}","gists_url":"https://api.github.com/users/Paradyx/gists{/gist_id}","starred_url":"https://api.github.com/users/Paradyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paradyx/subscriptions","organizations_url":"https://api.github.com/users/Paradyx/orgs","repos_url":"https://api.github.com/users/Paradyx/repos","events_url":"https://api.github.com/users/Paradyx/events{/privacy}","received_events_url":"https://api.github.com/users/Paradyx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-30T07:44:10Z","updated_at":"2018-06-30T07:56:00Z","closed_at":null,"author_association":"NONE","body":"Running the example from your [documentation example](https://actix.rs/actix-web/actix_web/client/fn.get.html) inside a test, results in the error: ``error[E0603]: module `actix` is private``\r\n\r\nThis happens on version 0.6.14 from cargo.\r\n\r\n```\r\nmod test {\r\n    use actix_web::{actix, client};\r\n    use futures::Future;\r\n\r\n    #[test]\r\n    fn connection_example() {\r\n        actix::run(|| {\r\n            client::get(\"http://www.rust-lang.org\")   // <- Create request builder\r\n                .header(\"User-Agent\", \"Actix-web\")\r\n                .finish().unwrap()\r\n                .send()                               // <- Send http request\r\n                .map_err(|_| ())\r\n                .and_then(|response| {                // <- server http response\r\n                    println!(\"Response: {:?}\", response);\r\n                    Ok(())\r\n                })\r\n        });\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/actix/actix-web/issues/comments/401525174","html_url":"https://github.com/actix/actix-web/issues/356#issuecomment-401525174","issue_url":"https://api.github.com/repos/actix/actix-web/issues/356","id":401525174,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTUyNTE3NA==","user":{"login":"DoumanAsh","id":5676053,"node_id":"MDQ6VXNlcjU2NzYwNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5676053?v=4","gravatar_id":"","url":"https://api.github.com/users/DoumanAsh","html_url":"https://github.com/DoumanAsh","followers_url":"https://api.github.com/users/DoumanAsh/followers","following_url":"https://api.github.com/users/DoumanAsh/following{/other_user}","gists_url":"https://api.github.com/users/DoumanAsh/gists{/gist_id}","starred_url":"https://api.github.com/users/DoumanAsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoumanAsh/subscriptions","organizations_url":"https://api.github.com/users/DoumanAsh/orgs","repos_url":"https://api.github.com/users/DoumanAsh/repos","events_url":"https://api.github.com/users/DoumanAsh/events{/privacy}","received_events_url":"https://api.github.com/users/DoumanAsh/received_events","type":"User","site_admin":false},"created_at":"2018-06-30T07:56:00Z","updated_at":"2018-06-30T07:56:00Z","author_association":"CONTRIBUTOR","body":"If I'm not mistaken the documentation is for current master branch version, and not the cargo version.\r\n\r\nFor cargo version please use [docs.rs](https://docs.rs/actix-web/0.6.11/actix_web/)\r\n\r\nOtherwise I would suggest to use master branch as dependency\r\n"}}
{"actor":{"display_login":"DoumanAsh"}}