libnv 0.5.1

Safe and rustic wrapper around libnv-sys.
# 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 = "libnv"
version = "0.5.1"
authors = ["Andrey Snow <andoriyu@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe and rustic wrapper around libnv-sys."
readme = "README.md"
categories = [
    "api-bindings",
    "data-structures",
    "os",
]
license = "BSD-2-Clause"
repository = "https://github.com/Inner-Heaven/libnv-rs"

[package.metadata.release]
dev-version-ext = "pre"
pre-release-hook = [
    "git-cliff",
    "-o",
    "CHANGELOG.md",
    "--tag",
    "{{version}}",
]

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-freebsd",
    "x86_64-unknown-linux-gnu",
]

[features]
default = [
    "libnv",
    "nvpair",
]
libnv = ["libnv-sys"]
nvpair = ["nvpair-sys"]

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

[dependencies.libc]
version = "0.2.65"

[dependencies.libnv-sys]
version = "0.3"
optional = true

[dependencies.nvpair-sys]
version = "0.4.0"
optional = true

[dependencies.quick-error]
version = "2.0"