lisy 0.1.0

Linux specific high and middle level system level API 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.85"
name = "lisy"
version = "0.1.0"
authors = ["Wolfgang Bumiller <w.bumiller@errno.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Linux specific high and middle level system level API library."
homepage = "https://codeberg.org/wbumiller/lisy"
readme = "README.md"
keywords = [
    "linux",
    "mount",
    "openat2",
    "syscalls",
]
categories = [
    "os",
    "os::linux-apis",
]
license = "MIT"
repository = "https://codeberg.org/wbumiller/lisy"

[features]
all = [
    "fs",
    "mount",
    "open",
    "pidfd",
    "userns",
    "ns",
]
default = ["all"]
fs = ["open"]
mount = []
ns = ["open"]
open = []
pidfd = ["ns"]
userns = ["open"]

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

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

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

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

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

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

[dependencies.bitflags]
version = "2.4"

[dependencies.libc]
version = "0.2"

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