[manifest]
name = fbthrift
fbsource_path = fbcode/thrift
shipit_project = fbthrift
shipit_fbcode_builder = true

[git]
repo_url = https://github.com/facebook/fbthrift.git

[cargo]
cargo_config_file =  source/thrift/lib/rust/.cargo/config

[crate.pathmap]
fbthrift = thrift/lib/rust

[build]
builder = cmake
job_weight_mib = 2048

[dependencies]
bison
folly
wangle
fizz
fmt
googletest
libsodium
python-six
zstd

[dependencies.os=linux]
# python doesn't build on Windows yet and this causes python3 shebangs to
# expand to a non-portable path on macOS
python

[shipit.pathmap]
fbcode/thrift/public_tld = .
fbcode/thrift = thrift

[shipit.strip]
^fbcode/thrift/thrift-config\.h$
^fbcode/thrift/perf/canary.py$
^fbcode/thrift/perf/loadtest.py$
^fbcode/thrift/.castle/.*
