| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.70" |
| 15 |
name = "inotify" |
| 16 |
version = "0.11.5" |
| 17 |
build = false |
| 18 |
exclude = ["/inotify-rs.sublime-project"] |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Idiomatic wrapper for inotify" |
| 25 |
documentation = "https://docs.rs/inotify" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"inotify", |
| 29 |
"linux", |
| 30 |
] |
| 31 |
categories = [ |
| 32 |
"api-bindings", |
| 33 |
"filesystem", |
| 34 |
] |
| 35 |
license = "ISC" |
| 36 |
repository = "https://github.com/hannobraun/inotify-rs" |
| 37 |
|
| 38 |
[package.metadata.docs.rs] |
| 39 |
all-features = true |
| 40 |
rustdoc-args = [ |
| 41 |
"--cfg", |
| 42 |
"docsrs", |
| 43 |
] |
| 44 |
|
| 45 |
[features] |
| 46 |
default = ["stream"] |
| 47 |
stream = [ |
| 48 |
"futures-util", |
| 49 |
"tokio", |
| 50 |
] |
| 51 |
|
| 52 |
[lib] |
| 53 |
name = "inotify" |
| 54 |
path = "src/lib.rs" |
| 55 |
|
| 56 |
[[example]] |
| 57 |
name = "stream" |
| 58 |
path = "examples/stream.rs" |
| 59 |
required-features = ["stream"] |
| 60 |
|
| 61 |
[[example]] |
| 62 |
name = "watch" |
| 63 |
path = "examples/watch.rs" |
| 64 |
|
| 65 |
[[test]] |
| 66 |
name = "main" |
| 67 |
path = "tests/main.rs" |
| 68 |
|
| 69 |
[dependencies.bitflags] |
| 70 |
version = "2" |
| 71 |
|
| 72 |
[dependencies.futures-util] |
| 73 |
version = "0.3.30" |
| 74 |
optional = true |
| 75 |
|
| 76 |
[dependencies.inotify-sys] |
| 77 |
version = "0.1.8" |
| 78 |
|
| 79 |
[dependencies.libc] |
| 80 |
version = "0.2" |
| 81 |
|
| 82 |
[dependencies.tokio] |
| 83 |
version = "1.40.0" |
| 84 |
features = ["net"] |
| 85 |
optional = true |
| 86 |
|
| 87 |
[dev-dependencies.futures-util] |
| 88 |
version = "0.3.30" |
| 89 |
|
| 90 |
[dev-dependencies.maplit] |
| 91 |
version = "1.0" |
| 92 |
|
| 93 |
[dev-dependencies.rand] |
| 94 |
version = "0.8" |
| 95 |
|
| 96 |
[dev-dependencies.tempfile] |
| 97 |
version = "3.12.0" |
| 98 |
|
| 99 |
[dev-dependencies.tokio] |
| 100 |
version = "1.40.0" |
| 101 |
features = [ |
| 102 |
"macros", |
| 103 |
"rt-multi-thread", |
| 104 |
"time", |
| 105 |
] |