# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "demikernel-dpdk-bindings" version = "1.1.6" authors = ["Microsoft Corporation"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rust Bindings for Libdpdk" homepage = "https://aka.ms/demikernel" readme = "README.md" license = "MIT" repository = "https://github.com/demikernel/demikernel" [profile.dev] opt-level = 0 lto = "off" codegen-units = 256 debug = 2 debug-assertions = true rpath = false panic = "unwind" overflow-checks = true incremental = true [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" overflow-checks = false incremental = false [lib] name = "demikernel_dpdk_bindings" path = "src/lib.rs" [dependencies.cfg-if] version = "1.0.0" [build-dependencies.anyhow] version = "1.0.86" [build-dependencies.bindgen] version = "0.69.4" [build-dependencies.cc] version = "1.1.10" [features] default = ["mlx5"] mlx4 = [] mlx5 = []