{"action":"created","issue":{"url":"https://api.github.com/repos/iron/iron/issues/399","labels_url":"https://api.github.com/repos/iron/iron/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/iron/iron/issues/399/comments","events_url":"https://api.github.com/repos/iron/iron/issues/399/events","html_url":"https://github.com/iron/iron/issues/399","id":112276663,"number":399,"title":"Iron tries to link to OpenSSL even with default-features=false","user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-20T03:05:05Z","updated_at":"2015-10-21T20:52:21Z","closed_at":null,"body":"# Error\r\n\r\n```\r\nTy@windows-desktop ~/workspace/rust/stormtrooper\r\n$ cargo build\r\n   Compiling openssl-sys v0.6.7\r\nfailed to run custom build command for `openssl-sys v0.6.7`\r\nProcess didn't exit successfully: `c:\\Users\\Ty\\workspace\\rust\\stormtrooper\\target\\debug\\build\\openssl-sys-f0bee5fb97afc90d\\build-script-build` (exit code: 101)\r\n--- stdout\r\ncargo:rustc-link-search=native=C:\\MinGW\\msys\\1.0\\local\\bin\r\ncargo:rustc-link-search=native=C:\\MinGW\\msys\\1.0\\mingw\\bin\r\ncargo:rustc-link-search=native=C:\\MinGW\\msys\\1.0\\bin\r\ncargo:rustc-link-search=native=c:\\MinGW\\bin\r\ncargo:rustc-link-lib=dylib=ssleay32\r\ncargo:rustc-link-lib=dylib=eay32\r\nTARGET = Some(\"x86_64-pc-windows-gnu\")\r\nOPT_LEVEL = Some(\"0\")\r\nPROFILE = Some(\"debug\")\r\nTARGET = Some(\"x86_64-pc-windows-gnu\")\r\ndebug=true opt-level=0\r\nHOST = Some(\"x86_64-pc-windows-gnu\")\r\nTARGET = Some(\"x86_64-pc-windows-gnu\")\r\nTARGET = Some(\"x86_64-pc-windows-gnu\")\r\nHOST = Some(\"x86_64-pc-windows-gnu\")\r\nCC_x86_64-pc-windows-gnu = None\r\nCC_x86_64_pc_windows_gnu = None\r\nHOST_CC = None\r\nCC = None\r\nTARGET = Some(\"x86_64-pc-windows-gnu\")\r\nHOST = Some(\"x86_64-pc-windows-gnu\")\r\nCFLAGS_x86_64-pc-windows-gnu = None\r\nCFLAGS_x86_64_pc_windows_gnu = None\r\nHOST_CFLAGS = None\r\nCFLAGS = None\r\nrunning: \"gcc.exe\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-g\" \"-m64\" \"-o\" \"c:\\\\Users\\\\Ty\\\\workspace\\\\rust\\\\stormtrooper\\\\target\\\\debug\\\\build\\\\openssl-sys-f0bee5fb97afc90d\\\\out\\\\src\\\\openssl_shim.o\" \"-c\" \"src/openssl_shim.c\"\r\nExitStatus(ExitStatus(1))\r\n\r\n\r\ncommand did not execute successfully, got: exit code: 1\r\n\r\n\r\n\r\n--- stderr\r\nsrc/openssl_shim.c:1:26: fatal error: openssl/hmac.h: No such file or directory\r\n #include <openssl/hmac.h>\r\n                          ^\r\ncompilation terminated.\r\nthread '<main>' panicked at 'explicit panic', c:/Users/Ty\\.cargo\\registry\\src\\github.com-0a35038f75765ae4\\gcc-0.3.19\\src\\lib.rs:771\r\n```\r\n\r\n# Cargo.toml\r\n\r\n```toml\r\n[package]\r\nname = \"stormtrooper\"\r\nversion = \"0.1.0\"\r\nauthors = [\"Ty Overby <ty@pre-alpha.com>\"]\r\n\r\n[dependencies.ares]\r\npath = \"../ares/\"\r\n\r\n[dependencies.notify]\r\npath = \"../rsnotify/\"\r\n\r\n[dependencies.iron]\r\nversion = \"0.2.*\"\r\ndefault-features = false\r\n\r\n[dependencies.router]\r\nversion = \"0.0.15\"\r\n\r\n[dependencies.typemap]\r\nversion = \"0.3.3\"\r\n```"},"comment":{"url":"https://api.github.com/repos/iron/iron/issues/comments/150020867","html_url":"https://github.com/iron/iron/issues/399#issuecomment-150020867","issue_url":"https://api.github.com/repos/iron/iron/issues/399","id":150020867,"user":{"login":"TyOverby","id":573215,"avatar_url":"https://avatars.githubusercontent.com/u/573215?v=3","gravatar_id":"","url":"https://api.github.com/users/TyOverby","html_url":"https://github.com/TyOverby","followers_url":"https://api.github.com/users/TyOverby/followers","following_url":"https://api.github.com/users/TyOverby/following{/other_user}","gists_url":"https://api.github.com/users/TyOverby/gists{/gist_id}","starred_url":"https://api.github.com/users/TyOverby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TyOverby/subscriptions","organizations_url":"https://api.github.com/users/TyOverby/orgs","repos_url":"https://api.github.com/users/TyOverby/repos","events_url":"https://api.github.com/users/TyOverby/events{/privacy}","received_events_url":"https://api.github.com/users/TyOverby/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T20:52:21Z","updated_at":"2015-10-21T20:52:21Z","body":"So do I need a `default-features = false` for router too?"}}