forked from ican2002/dpdk-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (42 loc) · 1.77 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
[package]
name = "dpdk-rs"
version = "1.1.2"
authors = [ "Microsoft Corporation" ]
edition = "2021"
description = "Rust Bindings for Libdpdk"
readme = "README.md"
homepage = "https://aka.ms/demikernel"
repository = "https://github.com/demikernel/dpdk-rs"
license-file = "LICENSE.txt"
[dependencies]
cfg-if = "1.0.0"
[build-dependencies]
bindgen = "0.60.1"
cc = "1.0.73"
[features]
mlx4 = []
mlx5 = []
# Build profile used for releases.
[profile.release]
opt-level = 3 # Enable all compiler optimizations.
debug = false # Do not include any debug info in the binary.
debug-assertions = false # Do not include any debug assertions in the binary.
overflow-checks = false # Do not check for overflows at runtime.
lto = "fat" # Perform link time optimizations across all dependencies (overridden).
panic = "abort" # Terminate the process upon panic (overridden).
incremental = false # Disable incremental compilation.
codegen-units = 1 # Produce a single code generation unit (overridden).
rpath = false # Disable runtime search path.
# Build profile used for development and debugging.
[profile.dev]
opt-level = 0 # Disable all compiler optimizations.
debug = true # Output full debug info in the binary.
debug-assertions = true # Include debug assertions in the binary.
overflow-checks = true # Check for overflows at runtime.
lto = "off" # Disable link time optimization (overridden).
panic = 'unwind' # Unwind the stack upon panic.
incremental = true # Incremental build.
codegen-units = 256 # Produce multiple code generation units.
rpath = false # Disable runtime search path.