# 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 = "rrddmma"
version = "0.7.1"
authors = ["Jian Gao <i@icyf.me>"]
build = "build.rs"
exclude = ["vendor/rdma-core/build"]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for RDMA."
readme = "README.md"
license = "MIT"
repository = "https://github.com/IcicleF/rrddmma"

[lib]
name = "rrddmma"
path = "src/lib.rs"

[[example]]
name = "dc"
path = "examples/dc.rs"

[[example]]
name = "dc_local"
path = "examples/dc_local.rs"

[[example]]
name = "dc_with_extatomic"
path = "examples/dc_with_extatomic.rs"

[[example]]
name = "extcas"
path = "examples/extcas.rs"

[[example]]
name = "extfaa"
path = "examples/extfaa.rs"

[[example]]
name = "local_rc_sendrecv"
path = "examples/local_rc_sendrecv.rs"

[[example]]
name = "local_ud_sendrecv"
path = "examples/local_ud_sendrecv.rs"

[[example]]
name = "loopback"
path = "examples/loopback.rs"

[[example]]
name = "wr"
path = "examples/wr.rs"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.memoffset]
version = "0.9"

[dependencies.quanta]
version = "0.12"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.quanta]
version = "0.12"

[build-dependencies.bindgen]
version = "0.70"

[build-dependencies.pkg-config]
version = "0.3"

[features]
warned_spin = []

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(mlnx4)",
    "cfg(mlnx5)",
    "cfg(manual_mlx5)",
]
