nfs 0.1.0

A userspace NFSv3 and NFSv4 client library.
Documentation
# 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 = "2024"
rust-version = "1.95.0"
name = "nfs"
version = "0.1.0"
build = false
include = [
    "Cargo.toml",
    "README.md",
    "examples/**/*.rs",
    "src/**/*.rs",
    "tests/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A userspace NFSv3 and NFSv4 client library."
documentation = "https://docs.rs/nfs"
readme = "README.md"
keywords = [
    "nfs",
    "nfsv3",
    "nfsv4",
    "storage",
    "client",
]
categories = [
    "filesystem",
    "network-programming",
]
license = "Apache-2.0"

[features]
blocking = []
default = ["blocking"]
protocol = []
tokio = ["dep:tokio"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = ["blocking"]

[[example]]
name = "tokio_basic"
path = "examples/tokio_basic.rs"
required-features = ["tokio"]

[[example]]
name = "v3_cookbook"
path = "examples/v3_cookbook.rs"
required-features = ["blocking"]

[[example]]
name = "v3_tokio_cookbook"
path = "examples/v3_tokio_cookbook.rs"
required-features = ["tokio"]

[[example]]
name = "v4_basic"
path = "examples/v4_basic.rs"
required-features = ["blocking"]

[[example]]
name = "v4_cookbook"
path = "examples/v4_cookbook.rs"
required-features = ["blocking"]

[[example]]
name = "v4_tokio_basic"
path = "examples/v4_tokio_basic.rs"
required-features = ["tokio"]

[[example]]
name = "v4_tokio_cookbook"
path = "examples/v4_tokio_cookbook.rs"
required-features = ["tokio"]

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

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

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

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

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

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

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

[dependencies.libc]
version = "0.2.186"

[dependencies.tokio]
version = "1.52.1"
features = [
    "io-util",
    "macros",
    "net",
    "rt",
    "time",
]
optional = true