[manifest]
name = mononoke
fbsource_path = fbcode/eden
shipit_project = eden
shipit_fbcode_builder = true

[git]
repo_url = https://github.com/facebookexperimental/eden.git

[build.not(os=windows)]
builder = cargo

[build.os=windows]
# building Mononoke on windows is not supported
builder = nop

[cargo]
build_doc = true
workspace_dir = eden/mononoke

[shipit.pathmap]
fbcode/configerator/structs/scm/mononoke/public_autocargo = eden/mononoke/config_structs
fbcode/configerator/structs/scm/mononoke = eden/mononoke/config_structs
fbcode/eden/oss = .
fbcode/eden = eden
fbcode/eden/mononoke/public_autocargo = eden/mononoke
fbcode/tools/lfs = tools/lfs
tools/rust/ossconfigs = .

[shipit.strip]
# strip all code unrelated to mononoke to prevent triggering unnecessary checks
^fbcode/eden/(?!mononoke|scm/lib/xdiff.*)/.*$
^fbcode/eden/mononoke/(?!public_autocargo).+/Cargo\.toml$
^fbcode/configerator/structs/scm/mononoke/(?!public_autocargo).+/Cargo\.toml$

[dependencies]
fbthrift-rust
rust-shed

[dependencies.fb=on]
rust
