web3-proxy/.cargo/config.toml

29 lines
1.0 KiB
TOML
Raw Normal View History

2022-05-17 19:25:25 +03:00
[build]
2022-08-30 23:01:42 +03:00
rustflags = [
2023-11-15 01:48:37 +03:00
# potentially faster. https://github.com/aws/aws-graviton-getting-started/blob/main/rust.md
"-C", "target-feature=+lse",
2022-08-30 23:01:42 +03:00
# potentially faster. https://nnethercote.github.io/perf-book/build-configuration.html
"-C", "target-cpu=native",
# tokio unstable is needed for tokio-console
"--cfg", "tokio_unstable",
# uuid unstable is needed for zerocopy deserialize
"--cfg", "uuid_unstable",
2023-11-15 03:36:48 +03:00
# parallel build frontend
2023-11-15 03:42:21 +03:00
"-Z", "threads=8",
2022-08-30 23:01:42 +03:00
]
rustdocflags = [
2023-11-15 01:48:37 +03:00
# potentially faster. https://github.com/aws/aws-graviton-getting-started/blob/main/rust.md
"-C", "target-feature=+lse",
# potentially faster. https://nnethercote.github.io/perf-book/build-configuration.html
"-C", "target-cpu=native",
# tokio unstable is needed for tokio-console
"--cfg", "tokio_unstable",
# uuid unstable is needed for zerocopy deserialize
"--cfg", "uuid_unstable",
2023-11-15 03:36:48 +03:00
# parallel build frontend
2023-11-15 03:42:21 +03:00
"-Z", "threads=8",
]
[registries.crates-io]
protocol = "sparse"