{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2762","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2762/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2762/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2762/events","html_url":"https://github.com/rust-lang/cargo/issues/2762","id":158097923,"number":2762,"title":"Cargo not picking up paths option (?)","user":{"login":"djc","id":158471,"avatar_url":"https://avatars.githubusercontent.com/u/158471?v=3","gravatar_id":"","url":"https://api.github.com/users/djc","html_url":"https://github.com/djc","followers_url":"https://api.github.com/users/djc/followers","following_url":"https://api.github.com/users/djc/following{/other_user}","gists_url":"https://api.github.com/users/djc/gists{/gist_id}","starred_url":"https://api.github.com/users/djc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djc/subscriptions","organizations_url":"https://api.github.com/users/djc/orgs","repos_url":"https://api.github.com/users/djc/repos","events_url":"https://api.github.com/users/djc/events{/privacy}","received_events_url":"https://api.github.com/users/djc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-02T09:34:57Z","updated_at":"2016-06-02T09:41:33Z","closed_at":null,"body":"```\r\ndjc@dochtman-dev servo $ cat ~/.cargo/config\r\npaths = [\"/home/djc/src/devices\"]\r\n\r\ndjc@dochtman-dev servo $ cat ~/src/devices/Cargo.toml\r\n[package]\r\nname = \"device\"\r\nversion = \"0.0.1\"\r\nauthors = [\"The Servo Project Developers\"]\r\n\r\n[features]\r\ndefault = [\"bluetooth\"]\r\nbluetooth = [\"blurz\"]\r\n\r\n[target.'cfg(target_os = \"linux\")'.dependencies]\r\nblurz = { version = \"0.1.7\", optional = true }\r\n\r\ndjc@dochtman-dev servo $ ./mach build --dev\r\nerror: Package `device v0.0.1\r\n(https://github.com/servo/devices#cac09521)` does not have these\r\nfeatures: `bluetooth`\r\nBuild completed in 0:00:01\r\n\r\ndjc@dochtman-dev devices $ cd ~/src/devices/\r\n\r\ndjc@dochtman-dev devices $ git diff Cargo.toml \r\ndiff --git a/Cargo.toml b/Cargo.toml\r\nindex ea1c9a5..897d5f9 100644\r\n--- a/Cargo.toml\r\n+++ b/Cargo.toml\r\n@@ -3,5 +3,9 @@ name = \"device\"\r\n version = \"0.0.1\"\r\n authors = [\"The Servo Project Developers\"]\r\n \r\n+[features]\r\n+default = [\"bluetooth\"]\r\n+bluetooth = [\"blurz\"]\r\n+\r\n [target.'cfg(target_os = \"linux\")'.dependencies]\r\n-blurz = \"0.1.7\"\r\n+blurz = { version = \"0.1.7\", optional = true }\r\n\r\ndjc@dochtman-dev devices $ cargo -V\r\ncargo 0.11.0-nightly (3ff108a 2016-05-24)\r\n```"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/223244200","html_url":"https://github.com/rust-lang/cargo/issues/2762#issuecomment-223244200","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2762","id":223244200,"user":{"login":"Manishearth","id":1617736,"avatar_url":"https://avatars.githubusercontent.com/u/1617736?v=3","gravatar_id":"","url":"https://api.github.com/users/Manishearth","html_url":"https://github.com/Manishearth","followers_url":"https://api.github.com/users/Manishearth/followers","following_url":"https://api.github.com/users/Manishearth/following{/other_user}","gists_url":"https://api.github.com/users/Manishearth/gists{/gist_id}","starred_url":"https://api.github.com/users/Manishearth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manishearth/subscriptions","organizations_url":"https://api.github.com/users/Manishearth/orgs","repos_url":"https://api.github.com/users/Manishearth/repos","events_url":"https://api.github.com/users/Manishearth/events{/privacy}","received_events_url":"https://api.github.com/users/Manishearth/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T09:41:33Z","updated_at":"2016-06-02T09:41:33Z","body":"What's important to note is:\r\n\r\n> error: Package `device v0.0.1\r\n> (https://github.com/servo/devices#cac09521)` does not have these\r\n> features: `bluetooth`\r\n\r\nwhere it still has the GH url instead of the path."}}
{"actor":{"display_login":"Manishearth"}}