libnvme 0.6.1

Safe, idiomatic Rust bindings for the Linux libnvme C library
# 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"
rust-version = "1.85"
name = "libnvme"
version = "0.6.1"
authors = ["Cyberpsych0s1s"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, idiomatic Rust bindings for the Linux libnvme C library"
homepage = "https://github.com/Cyberpsych0s1s/libnvme-rs"
documentation = "https://docs.rs/libnvme"
readme = "README.md"
keywords = [
    "nvme",
    "linux",
    "ffi",
    "bindings",
    "storage",
]
categories = [
    "external-ffi-bindings",
    "os::linux-apis",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/Cyberpsych0s1s/libnvme-rs"

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

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

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

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

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

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

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

[[test]]
name = "scan"
path = "tests/scan.rs"

[dependencies.libnvme-sys]
version = "0.6.1"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"