]> git.proxmox.com Git - cargo.git/commit
Auto merge of #4938 - ehuss:ws-meta, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 13 Jan 2018 23:59:50 +0000 (23:59 +0000)
committerbors <bors@rust-lang.org>
Sat, 13 Jan 2018 23:59:50 +0000 (23:59 +0000)
commit6a8eb71f6d226f9ac869dbacd5ff6aa76deef1c4
treead82d4e48a568cf362760f4575b2c5a17a3539c3
parenta8f4078ab8e5f9d21f4f16b414474c030781f040
parentfef215d3d3ffece83ff5fbf703260eabab5846cb
Auto merge of #4938 - ehuss:ws-meta, r=alexcrichton

Add workspace root to metadata command.

Fixes #4933

@alexcrichton, you mentioned using `"workspace_manifest"`, but the `Workspace.root` function already strips off `Cargo.toml`.  It would be easy to append it back, though I'm uncertain if that's really necessary since I think for most use cases it will just need to be stripped off again.  Also, I feel like it might be confusing for non-workspace packages since `workspace_manifest` would be the same as the package `manifest_path` (and in that case it isn't really a workspace manifest).  I can easily change it, just let me know.