[package]
edition = "2024"
rust-version = "1.95"
name = "mount-fstab"
version = "0.1.1"
authors = ["franckcl1989"]
build = false
exclude = [
"docs/**",
".github/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe /etc/fstab parsing, editing, and validation library"
homepage = "https://github.com/franckcl1989/mount-fstab"
documentation = "https://docs.rs/mount-fstab"
readme = "README.md"
keywords = [
"fstab",
"mount",
"filesystem",
"linux",
"parser",
]
categories = [
"parsing",
"filesystem",
]
license = "MIT"
repository = "https://github.com/franckcl1989/mount-fstab"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
serde = ["dep:serde"]
[lib]
name = "mount_fstab"
path = "src/lib.rs"
[[test]]
name = "escape_tests"
path = "tests/escape_tests.rs"
[[test]]
name = "fstype_tests"
path = "tests/fstype_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "libmount_compat_tests"
path = "tests/libmount_compat_tests.rs"
[[test]]
name = "options_tests"
path = "tests/options_tests.rs"
[[test]]
name = "parse_tests"
path = "tests/parse_tests.rs"
[[test]]
name = "serde_tests"
path = "tests/serde_tests.rs"
[[test]]
name = "spec_tests"
path = "tests/spec_tests.rs"
[[test]]
name = "validate_tests"
path = "tests/validate_tests.rs"
[[test]]
name = "write_tests"
path = "tests/write_tests.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2"
[dev-dependencies.serde_json]
version = "1"