112 lines
2.1 KiB
TOML
112 lines
2.1 KiB
TOML
# 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 = "2018"
|
|
rust-version = "1.70"
|
|
name = "inotify"
|
|
version = "0.11.0"
|
|
authors = [
|
|
"Hanno Braun <mail@hannobraun.de>",
|
|
"Félix Saparelli <me@passcod.name>",
|
|
"Cristian Kubis <cristian.kubis@tsunix.de>",
|
|
"Frank Denis <github@pureftpd.org>",
|
|
]
|
|
build = false
|
|
exclude = [
|
|
"/.travis.yml",
|
|
"/inotify-rs.sublime-project",
|
|
]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Idiomatic wrapper for inotify"
|
|
documentation = "https://docs.rs/inotify"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"inotify",
|
|
"linux",
|
|
]
|
|
categories = [
|
|
"api-bindings",
|
|
"filesystem",
|
|
]
|
|
license = "ISC"
|
|
repository = "https://github.com/hannobraun/inotify"
|
|
|
|
[lib]
|
|
name = "inotify"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "stream"
|
|
path = "examples/stream.rs"
|
|
required-features = ["stream"]
|
|
|
|
[[example]]
|
|
name = "watch"
|
|
path = "examples/watch.rs"
|
|
|
|
[[test]]
|
|
name = "main"
|
|
path = "tests/main.rs"
|
|
|
|
[dependencies.bitflags]
|
|
version = "2"
|
|
|
|
[dependencies.futures-core]
|
|
version = "0.3.1"
|
|
optional = true
|
|
|
|
[dependencies.inotify-sys]
|
|
version = "0.1.3"
|
|
|
|
[dependencies.libc]
|
|
version = "0.2"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.0.1"
|
|
features = ["net"]
|
|
optional = true
|
|
|
|
[dev-dependencies.futures-util]
|
|
version = "0.3.1"
|
|
|
|
[dev-dependencies.maplit]
|
|
version = "1.0"
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.8"
|
|
|
|
[dev-dependencies.tempfile]
|
|
version = "3.1.0"
|
|
|
|
[dev-dependencies.tokio]
|
|
version = "1.0.1"
|
|
features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
]
|
|
|
|
[features]
|
|
default = ["stream"]
|
|
stream = [
|
|
"futures-core",
|
|
"tokio",
|
|
]
|
|
|
|
[badges.maintenance]
|
|
status = "actively-developed"
|
|
|
|
[badges.travis-ci]
|
|
repository = "inotify-rs/inotify"
|