2022-05-17 19:25:25 +03:00
|
|
|
[build]
|
2022-08-30 23:01:42 +03:00
|
|
|
rustflags = [
|
|
|
|
# potentially faster. https://nnethercote.github.io/perf-book/build-configuration.html
|
|
|
|
"-C", "target-cpu=native",
|
|
|
|
# tokio unstable is needed for tokio-console
|
2023-05-31 06:58:24 +03:00
|
|
|
"--cfg", "tokio_unstable",
|
|
|
|
# uuid unstable is needed for zerocopy deserialize
|
|
|
|
"--cfg", "uuid_unstable",
|
2022-08-30 23:01:42 +03:00
|
|
|
]
|
2023-05-11 23:23:22 +03:00
|
|
|
rustdocflags = [
|
|
|
|
# potentially faster. https://nnethercote.github.io/perf-book/build-configuration.html
|
|
|
|
"-C", "target-cpu=native",
|
|
|
|
# tokio unstable is needed for tokio-console
|
2023-05-31 06:58:24 +03:00
|
|
|
"--cfg", "tokio_unstable",
|
|
|
|
# uuid unstable is needed for zerocopy deserialize
|
|
|
|
"--cfg", "uuid_unstable",
|
2023-05-11 23:23:22 +03:00
|
|
|
]
|