25 lines
919 B
TOML
25 lines
919 B
TOML
[build]
|
|
rustflags = [
|
|
# 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",
|
|
]
|
|
rustdocflags = [
|
|
# 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",
|
|
]
|
|
|
|
[registries.crates-io]
|
|
protocol = "sparse"
|