{"action":"created","issue":{"url":"https://api.github.com/repos/deplinenoise/tundra/issues/261","repository_url":"https://api.github.com/repos/deplinenoise/tundra","labels_url":"https://api.github.com/repos/deplinenoise/tundra/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/deplinenoise/tundra/issues/261/comments","events_url":"https://api.github.com/repos/deplinenoise/tundra/issues/261/events","html_url":"https://github.com/deplinenoise/tundra/issues/261","id":104651940,"number":261,"title":"Rust support","user":{"login":"emoon","id":350822,"avatar_url":"https://avatars.githubusercontent.com/u/350822?v=3","gravatar_id":"","url":"https://api.github.com/users/emoon","html_url":"https://github.com/emoon","followers_url":"https://api.github.com/users/emoon/followers","following_url":"https://api.github.com/users/emoon/following{/other_user}","gists_url":"https://api.github.com/users/emoon/gists{/gist_id}","starred_url":"https://api.github.com/users/emoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoon/subscriptions","organizations_url":"https://api.github.com/users/emoon/orgs","repos_url":"https://api.github.com/users/emoon/repos","events_url":"https://api.github.com/users/emoon/events{/privacy}","received_events_url":"https://api.github.com/users/emoon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-09-03T09:07:13Z","updated_at":"2016-02-22T14:47:50Z","closed_at":"2016-02-22T14:47:50Z","body":"Hi,\r\n\r\nI would like to add Rust support to tundra but I'm not sure how to go about it. Just adding support for compiling rust files as is very easy as it's just a regular compiler. \r\n\r\nThe thing is that Rust has it's own build/package manager called Cargo and some info can be found about it here: http://doc.crates.io/guide.html\r\n\r\nThe way it works is that you set up a project according to some rules and allows you to depend on packages that can be downloaded when you build and such which is very convenient.\r\n\r\nThe best way I see it would be if it would be possible to start \"cargo build\" for a given rust project within tundra and have tundra then link with the output in the cargo output folder (in cargo's case it ends up like target/debug/foo)\r\n\r\nReading the FAQ on cargo it also states this:\r\n\r\n#### Can Cargo be used inside of make (or ninja, or ...)\r\nIndeed. While we intend Cargo to be useful as a standalone way to compile Rust projects at the top-level, we know that some people will want to invoke Cargo from other build tools.\r\n\r\nWe have designed Cargo to work well in those contexts, paying attention to things like error codes and machine-readable output modes. We still have some work to do on those fronts, but using Cargo in the context of conventional scripts is something we designed for from the beginning and will continue to prioritize.\r\n\r\nhttp://doc.crates.io/faq.html\r\n\r\nSo I feel it should be possible to allow a nice integration into Tundra but I'm unsure of how to do it."},"comment":{"url":"https://api.github.com/repos/deplinenoise/tundra/issues/comments/187212672","html_url":"https://github.com/deplinenoise/tundra/issues/261#issuecomment-187212672","issue_url":"https://api.github.com/repos/deplinenoise/tundra/issues/261","id":187212672,"user":{"login":"emoon","id":350822,"avatar_url":"https://avatars.githubusercontent.com/u/350822?v=3","gravatar_id":"","url":"https://api.github.com/users/emoon","html_url":"https://github.com/emoon","followers_url":"https://api.github.com/users/emoon/followers","following_url":"https://api.github.com/users/emoon/following{/other_user}","gists_url":"https://api.github.com/users/emoon/gists{/gist_id}","starred_url":"https://api.github.com/users/emoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emoon/subscriptions","organizations_url":"https://api.github.com/users/emoon/orgs","repos_url":"https://api.github.com/users/emoon/repos","events_url":"https://api.github.com/users/emoon/events{/privacy}","received_events_url":"https://api.github.com/users/emoon/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T14:47:50Z","updated_at":"2016-02-22T14:47:50Z","body":"Closing this as merged to main repro in https://github.com/deplinenoise/tundra/commit/9f3d161f06ee561ec71122446c512c56ddc31af9"}}