{"action":"created","issue":{"url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/844","repository_url":"https://api.github.com/repos/SergioBenitez/Rocket","labels_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/844/labels{/name}","comments_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/844/comments","events_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/844/events","html_url":"https://github.com/SergioBenitez/Rocket/issues/844","id":388938433,"node_id":"MDU6SXNzdWUzODg5Mzg0MzM=","number":844,"title":"StaticFiles serving","user":{"login":"suhaschitade","id":8472771,"node_id":"MDQ6VXNlcjg0NzI3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/8472771?v=4","gravatar_id":"","url":"https://api.github.com/users/suhaschitade","html_url":"https://github.com/suhaschitade","followers_url":"https://api.github.com/users/suhaschitade/followers","following_url":"https://api.github.com/users/suhaschitade/following{/other_user}","gists_url":"https://api.github.com/users/suhaschitade/gists{/gist_id}","starred_url":"https://api.github.com/users/suhaschitade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhaschitade/subscriptions","organizations_url":"https://api.github.com/users/suhaschitade/orgs","repos_url":"https://api.github.com/users/suhaschitade/repos","events_url":"https://api.github.com/users/suhaschitade/events{/privacy}","received_events_url":"https://api.github.com/users/suhaschitade/received_events","type":"User","site_admin":false},"labels":[{"id":343542073,"node_id":"MDU6TGFiZWwzNDM1NDIwNzM=","url":"https://api.github.com/repos/SergioBenitez/Rocket/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-08T16:51:32Z","updated_at":"2018-12-08T17:40:57Z","closed_at":"2018-12-08T17:01:40Z","author_association":"NONE","body":"Hi,\r\n\r\nI am following static files serving example, however compiler is complaining about below issue\r\n\r\nerror[E0432]: unresolved import `rocket_contrib::serve`\r\n  --> src/main.rs:12:21\r\n   |\r\n12 | use rocket_contrib::serve::StaticFiles;\r\n   |                     ^^^^^ could not find `serve` in `rocket_contrib`\r\n\r\n\r\nNot sure if examples needs to be updated\r\n\r\nRegards,\r\nSuhas\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/comments/445476481","html_url":"https://github.com/SergioBenitez/Rocket/issues/844#issuecomment-445476481","issue_url":"https://api.github.com/repos/SergioBenitez/Rocket/issues/844","id":445476481,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQ3NjQ4MQ==","user":{"login":"suhaschitade","id":8472771,"node_id":"MDQ6VXNlcjg0NzI3NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/8472771?v=4","gravatar_id":"","url":"https://api.github.com/users/suhaschitade","html_url":"https://github.com/suhaschitade","followers_url":"https://api.github.com/users/suhaschitade/followers","following_url":"https://api.github.com/users/suhaschitade/following{/other_user}","gists_url":"https://api.github.com/users/suhaschitade/gists{/gist_id}","starred_url":"https://api.github.com/users/suhaschitade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhaschitade/subscriptions","organizations_url":"https://api.github.com/users/suhaschitade/orgs","repos_url":"https://api.github.com/users/suhaschitade/repos","events_url":"https://api.github.com/users/suhaschitade/events{/privacy}","received_events_url":"https://api.github.com/users/suhaschitade/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T17:40:57Z","updated_at":"2018-12-08T17:40:57Z","author_association":"NONE","body":"Here are few logs from rocket\r\n\r\nGET /static/vendor/bootstrap/css/bootstrap.min.css text/css:\r\n    => Matched: GET /<path..> [10]\r\n    => Warning: Response was `None`.\r\n    => Outcome: Failure\r\n    => Warning: Responding with 404 Not Found catcher.\r\n    => Response succeeded.\r\nGET /static/vendor/fontawesome-free/css/all.min.css text/css:\r\n    => Matched: GET /<path..> [10]\r\n    => Warning: Response was `None`.\r\n    => Outcome: Failure\r\n    => Warning: Responding with 404 Not Found catcher.\r\nGET /static/css/clean-blog.min.css text/css:\r\n    => Matched: GET /<path..> [10]\r\n    => Warning: Response was `None`.\r\n    => Outcome: Failure\r\n    => Warning: Responding with 404 Not Found catcher.\r\n    => Response succeeded.\r\nGET /static/vendor/jquery/jquery.min.js:\r\n    => Matched: GET /<path..> [10]\r\n    => Warning: Response was `None`.\r\n    => Outcome: Failure\r\n    => Warning: Responding with 404 Not Found catcher.\r\n    => Response succeeded.\r\nGET /static/vendor/bootstrap/js/bootstrap.bundle.min.js:\r\nGET /static/js/clean-blog.min.js:\r\n    => Matched: GET /<path..> [10]\r\n    =>     => Warning: Response was `None`.\r\n    => Outcome: Failure\r\n    => Warning: Responding with 404 Not Found catcher.\r\n    => Matched: GET /<path..> [10]\r\n    => Warning: Response was `None`.\r\n    => Outcome: Failure\r\n    => Warning: Responding with 404 Not Found catcher.\r\n\r\nBelow is the code \r\n    .mount(\"/\", StaticFiles::from(\"static/\"))"}}
{"actor":{"display_login":"suhaschitade"}}