eden/scm: cover xdiff with autocargo

Summary: Generate the Cargo.toml files inside xdiff with autocargo. This will enable Mononoke to depend on this code easily without sacrificing anything on eden/scm side.

Reviewed By: aslpavel

Differential Revision: D19948741

fbshipit-source-id: 905ff3d64b90830e5f075e4c6ed2b3de959e3f00
This commit is contained in:
Lukas Piatkowski 2020-02-19 05:13:31 -08:00 committed by Facebook Github Bot
parent f9ed23693b
commit c4f0887fc2
2 changed files with 27 additions and 3 deletions

View File

@ -1,7 +1,19 @@
# @generated
# @autocargo from //eden/scm/lib/xdiff-sys:[xdiff-sys,xdiff-sys-bin]
# Signature<<65f460a5374401c987d47268cae1953a8b657ba1>>
[package]
name = "xdiff-sys"
version = "0.1.0"
edition = "2018"
version = "0.1.0"
include = ["src/**/*.rs", "src/bin/xdiff-sys-bin.rs"]
[lib]
path = "src/lib.rs"
[[bin]]
name = "xdiff_sys_bin"
path = "src/bin/xdiff-sys-bin.rs"
[build-dependencies]
cc = "1.0.25"
# @end of Signature<<65f460a5374401c987d47268cae1953a8b657ba1>>

View File

@ -1,8 +1,20 @@
# @generated
# @autocargo from //eden/scm/lib/xdiff:[diff,xdiff]
# Signature<<2918b17d214ffa04c4c717c071db16ccd49a171f>>
[package]
name = "xdiff"
version = "0.1.0"
edition = "2018"
version = "0.1.0"
include = ["src/**/*.rs", "src/bin/diff.rs"]
[lib]
path = "src/lib.rs"
[[bin]]
name = "diff"
path = "src/bin/diff.rs"
[dependencies]
xdiff-sys = { path = "../xdiff-sys" }
structopt = "0.3.1"
structopt = "0.3.7"
# @end of Signature<<2918b17d214ffa04c4c717c071db16ccd49a171f>>