[package]
name = "pathkit"
version = "0.9.3"
authors = ["kiki-kanri"]
categories = ["filesystem"]
description = "Similar to the Path structure provided by python's pathlib, it provides various async/sync versions of file manipulation methods in addition to some of the std::Path built-in methods."
edition = "2021"
homepage = "https://github.com/kiki-kanri/rs-pathkit"
include = [
"Cargo.toml",
"README.md",
"src/**/*",
]
keywords = [
"filesystem",
"path",
"utils",
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/kiki-kanri/rs-pathkit"
[dependencies]
anyhow = "1.0.102"
async-trait = { version = "0.1.89", optional = true }
path-absolutize = "3.1.1"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tokio = { version = "1.50.0", features = ["fs", "rt"], optional = true }
[dev-dependencies]
tempfile = "3.27.0"
tokio = { version = "1.47.1", features = ["macros"] }
[features]
async-fs-ops = [
"dep:async-trait",
"dep:tokio",
]
default = []
all = ["async-fs-ops"]
full = ["all"]