watchfile 0.1.1

An async utility trait to subscribe to file changes of a serializable file
Documentation
[dependencies.serde]
version = "1"

[dependencies.serde_json]
optional = true
version = "1"

[dependencies.serde_yaml]
optional = true
version = "0.9"

[dependencies.tokio]
features = ["rt", "time", "fs", "io-util", "sync"]
version = "1"

[dependencies.toml]
optional = true
version = "0.8"

[dependencies.tracing]
features = ["async-await"]
version = "0.1"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0.215"

[dev-dependencies.tokio]
features = ["test-util", "full"]
version = "1.41.1"

[features]
default = ["yaml", "toml", "json"]
json = ["dep:serde_json"]
toml = ["dep:toml"]
yaml = ["dep:serde_yaml"]

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
unreadable_literal = "allow"
unwrap_used = "deny"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[package]
authors = ["Ofer Sadan <ofersadan85@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["filesystem", "asynchronous"]
description = "An async utility trait to subscribe to file changes of a serializable file"
edition = "2021"
keywords = ["watch", "file", "async", "tokio", "serde"]
license = "MIT"
name = "watchfile"
publish = true
readme = "README.md"
repository = "https://github.com/ofersadan85/watchfile"
version = "0.1.1"