diff -Nru rust-inotify-sys-0.1.3/Cargo.toml rust-inotify-sys-0.1.5/Cargo.toml --- rust-inotify-sys-0.1.3/Cargo.toml 1970-01-01 00:00:00.000000000 +0000 +++ rust-inotify-sys-0.1.5/Cargo.toml 2021-01-16 09:40:06.000000000 +0000 @@ -3,7 +3,7 @@ # 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 +# to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're @@ -12,25 +12,17 @@ [package] name = "inotify-sys" -version = "0.1.3" +version = "0.1.5" authors = ["Hanno Braun "] +exclude = ["/.travis.yml", "/inotify-sys.sublime-project"] description = "inotify bindings for the Rust programming language" documentation = "https://docs.rs/inotify-sys" readme = "README.md" keywords = ["inotify", "linux"] categories = ["external-ffi-bindings", "filesystem"] license = "ISC" -repository = "https://github.com/inotify-rs/inotify-sys" -[package.metadata.release] -dev-version-ext = "dev" -pre-release-commit-message = "chore: Release version {{version}}" -pro-release-commit-message = "chore: Bump version to {{version}}" -tag-message = "Version {{version}}" -tag-prefix = "v" +repository = "https://github.com/hannobraun/inotify-sys" [dependencies.libc] version = "0.2" -[badges.maintenance] -status = "actively-developed" - [badges.travis-ci] repository = "inotify-rs/inotify-sys" diff -Nru rust-inotify-sys-0.1.3/Cargo.toml.orig rust-inotify-sys-0.1.5/Cargo.toml.orig --- rust-inotify-sys-0.1.3/Cargo.toml.orig 2018-07-26 09:09:18.000000000 +0000 +++ rust-inotify-sys-0.1.5/Cargo.toml.orig 2021-01-16 09:38:00.000000000 +0000 @@ -1,27 +1,20 @@ [package] name = "inotify-sys" -version = "0.1.3" +version = "0.1.5" authors = ["Hanno Braun "] description = "inotify bindings for the Rust programming language" documentation = "https://docs.rs/inotify-sys" -repository = "https://github.com/inotify-rs/inotify-sys" +repository = "https://github.com/hannobraun/inotify-sys" license = "ISC" readme = "README.md" keywords = ["inotify", "linux"] categories = ["external-ffi-bindings", "filesystem"] +exclude = ["/.travis.yml", "/inotify-sys.sublime-project"] [badges] -maintenance = { status = "actively-developed" } -travis-ci = { repository = "inotify-rs/inotify-sys" } +travis-ci = { repository = "inotify-rs/inotify-sys" } [dependencies] libc = "0.2" - -[package.metadata.release] -pre-release-commit-message = "chore: Release version {{version}}" -pro-release-commit-message = "chore: Bump version to {{version}}" -tag-prefix = "v" -tag-message = "Version {{version}}" -dev-version-ext = "dev" diff -Nru rust-inotify-sys-0.1.3/.cargo_vcs_info.json rust-inotify-sys-0.1.5/.cargo_vcs_info.json --- rust-inotify-sys-0.1.3/.cargo_vcs_info.json 1970-01-01 00:00:00.000000000 +0000 +++ rust-inotify-sys-0.1.5/.cargo_vcs_info.json 2021-01-16 09:40:06.000000000 +0000 @@ -0,0 +1,5 @@ +{ + "git": { + "sha1": "57f7facfa12ae0aff2054972691b4cd5f5afc154" + } +} diff -Nru rust-inotify-sys-0.1.3/CHANGELOG.md rust-inotify-sys-0.1.5/CHANGELOG.md --- rust-inotify-sys-0.1.3/CHANGELOG.md 2018-07-26 09:08:08.000000000 +0000 +++ rust-inotify-sys-0.1.5/CHANGELOG.md 2021-01-16 09:37:26.000000000 +0000 @@ -1,7 +1,20 @@ + +### v0.1.5 (2021-01-16) + +- Add LICENSE file ([#21]) + +[#21]: https://github.com/hannobraun/inotify-sys/pull/21 + + + +### v0.1.4 (2020-11-06) + +- Fix build by no longer failing on warnings + + ### v0.1.3 (2018-07-26) - #### Bug Fixes * Use platform-specific constants from libc ([b363dff1](b363dff1)) diff -Nru rust-inotify-sys-0.1.3/CONTRIBUTING.md rust-inotify-sys-0.1.5/CONTRIBUTING.md --- rust-inotify-sys-0.1.3/CONTRIBUTING.md 2017-10-27 09:05:41.000000000 +0000 +++ rust-inotify-sys-0.1.5/CONTRIBUTING.md 2020-11-06 17:29:39.000000000 +0000 @@ -20,50 +20,6 @@ If you're having any problems with completing your change, feel free to open a pull request anyway and ask any questions there. We're happy to help with getting changes across the finish line. -## Commit guidelines -We use [clog] to generate a changelog for each release. This is done automatically, using the commit messages as a data source. Therefore it is very imporant to write clear commit messages and tag them in a way that the tool can understand. - -The rest of this section explains the rules for commit messages. Please don't be put off, if this seems overwhelming. As always, if you're unsure about anything, just send a pull request. [GitCop] and the reviewer will happily point out any problems. - -Before we go into the rules, here's an example of a commit message: -``` -feat: Implement a feature - -This is the commit message body. It is optional and might consist of -multiple paragraphs. - -Here's the message body's second paragraph. The next paragraph is going -to automatically close an issue, once the commit is merged into the -repository. - -Closes #123456. -``` - -First, let's start with the first line, the header. It's the most important part of the commit, as it's used by [clog] to generate the changelog. For that reason, it's the most heavily regulated part: -- The header's purpose is to concisely summarize the changes made. -- It must be **at most 50 characters** long. -- It should be written in the **imperative voice**, as if you're commanding someone. So, "Add something", as opposed to "Adding something" or "Added something". -- It must begin with the type of commit, followed by a colon (e.g. "feat:" or "fix:"). The following types can be used: - - **feat**: New functionality, or changes (not bug fixes) to existing functionality. - - **fix**: Bug fixes - - **docs**: Improvements to documentation - - **style**: Code formatting, indentation, etc. - - **refactor**: Changes to code that don't change what it does. Cleaning up, moving stuff around, etc. - - **perf**: Performance improvements - - **test**: Changes to test code - - **chore**: Custodial work that isn't directly related to the code. Changes to the build system, etc. - -These rules apply to the message body: -- The messages body is optional, but should be added if the header and the commit diff by themselves don't explain why the commit is necessary. -- It should **provide context** for the commit and **explain its reasoning**. It doesn't need to restate things that are already obvious from the commit diff. -- Please be mindful of explanations of how the code works. Often, it makes more sense to add such explanations to the code itself, as comments. -- The length limit for lines in the commit body is **72 characters**. -- If any issues should be closed once the commit is merged, this can be done automatically by adding something like "Closes #123456" to the commit. Be careful about not doing this accidentally. - -That's it! If anything about this document is unclear, feel free to open an issue. If you have questions regarding a pull request that you're working on, just open the pull request and ask your questions there. - -[inotify]: https://github.com/inotify-rs/inotify -[inotify-sys]: https://github.com/inotify-rs/inotify-sys -[clog]: https://crates.io/crates/clog-cli -[GitCop]: https://gitcop.com/ \ No newline at end of file +[inotify]: https://github.com/hannobraun/inotify +[inotify-sys]: https://github.com/hannobraun/inotify-sys diff -Nru rust-inotify-sys-0.1.3/debian/cargo-checksum.json rust-inotify-sys-0.1.5/debian/cargo-checksum.json --- rust-inotify-sys-0.1.3/debian/cargo-checksum.json 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/cargo-checksum.json 2022-02-22 00:23:42.000000000 +0000 @@ -1 +1 @@ -{"package":"e74a1aa87c59aeff6ef2cc2fa62d41bc43f54952f55652656b18a02fd5e356c0","files":{}} +{"package":"e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb","files":{}} diff -Nru rust-inotify-sys-0.1.3/debian/changelog rust-inotify-sys-0.1.5/debian/changelog --- rust-inotify-sys-0.1.3/debian/changelog 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/changelog 2022-02-22 00:23:42.000000000 +0000 @@ -1,3 +1,9 @@ +rust-inotify-sys (0.1.5-1) unstable; urgency=medium + + * Package inotify-sys 0.1.5 from crates.io using debcargo 2.4.4 + + -- Alexander Kjäll Mon, 21 Feb 2022 19:23:42 -0500 + rust-inotify-sys (0.1.3-2) unstable; urgency=medium * Team upload. diff -Nru rust-inotify-sys-0.1.3/debian/compat rust-inotify-sys-0.1.5/debian/compat --- rust-inotify-sys-0.1.3/debian/compat 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/compat 2022-02-22 00:23:42.000000000 +0000 @@ -1 +1 @@ -11 +12 diff -Nru rust-inotify-sys-0.1.3/debian/control rust-inotify-sys-0.1.5/debian/control --- rust-inotify-sys-0.1.3/debian/control 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/control 2022-02-22 00:23:42.000000000 +0000 @@ -1,8 +1,8 @@ Source: rust-inotify-sys Section: rust Priority: optional -Build-Depends: debhelper (>= 11), - dh-cargo (>= 18), +Build-Depends: debhelper (>= 12), + dh-cargo (>= 25), cargo:native , rustc:native , libstd-rust-dev , @@ -10,9 +10,11 @@ Maintainer: Debian Rust Maintainers Uploaders: Alexander Kjäll -Standards-Version: 4.4.1 +Standards-Version: 4.5.1 Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/inotify-sys] Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/inotify-sys +X-Cargo-Crate: inotify-sys +Rules-Requires-Root: no Package: librust-inotify-sys-dev Architecture: any @@ -26,8 +28,8 @@ librust-inotify-sys-0+default-dev (= ${binary:Version}), librust-inotify-sys-0.1-dev (= ${binary:Version}), librust-inotify-sys-0.1+default-dev (= ${binary:Version}), - librust-inotify-sys-0.1.3-dev (= ${binary:Version}), - librust-inotify-sys-0.1.3+default-dev (= ${binary:Version}) + librust-inotify-sys-0.1.5-dev (= ${binary:Version}), + librust-inotify-sys-0.1.5+default-dev (= ${binary:Version}) Description: Inotify bindings for the Rust programming language - Rust source code This package contains the source for the Rust inotify-sys crate, packaged by debcargo for use with cargo and dh-cargo. diff -Nru rust-inotify-sys-0.1.3/debian/copyright rust-inotify-sys-0.1.5/debian/copyright --- rust-inotify-sys-0.1.3/debian/copyright 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/copyright 2022-02-22 00:23:42.000000000 +0000 @@ -1,16 +1,16 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: inotify-sys Upstream-Contact: Hanno Braun -Source: https://github.com/inotify-rs/inotify-sys +Source: https://github.com/hannobraun/inotify-sys Files: * -Copyright: 2017-2019 Hanno Braun +Copyright: 2017-2021 Hanno Braun License: ISC Files: debian/* Copyright: - 2019 Debian Rust Maintainers - 2019 Alexander Kjäll + 2019-2021 Debian Rust Maintainers + 2019-2021 Alexander Kjäll License: ISC License: ISC diff -Nru rust-inotify-sys-0.1.3/debian/copyright.debcargo.hint rust-inotify-sys-0.1.5/debian/copyright.debcargo.hint --- rust-inotify-sys-0.1.3/debian/copyright.debcargo.hint 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/copyright.debcargo.hint 2022-02-22 00:23:42.000000000 +0000 @@ -1,7 +1,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: inotify-sys Upstream-Contact: Hanno Braun -Source: https://github.com/inotify-rs/inotify-sys +Source: https://github.com/hannobraun/inotify-sys Files: * Copyright: FIXME (overlay) UNKNOWN-YEARS Hanno Braun @@ -12,17 +12,10 @@ be correct information so you should review and fix this before uploading to the archive. -Files: ./README.md -Copyright: 2014-2017, Hanno Braun and contributors -License: UNKNOWN-LICENSE; FIXME (overlay) -Comment: - FIXME (overlay): These notices are extracted from files. Please review them - before uploading to the archive. - Files: debian/* Copyright: - 2019-2020 Debian Rust Maintainers - 2019-2020 Alexander Kjäll + 2019-2022 Debian Rust Maintainers + 2019-2022 Alexander Kjäll License: ISC License: ISC diff -Nru rust-inotify-sys-0.1.3/debian/tests/control rust-inotify-sys-0.1.5/debian/tests/control --- rust-inotify-sys-0.1.3/debian/tests/control 2020-04-20 12:10:44.000000000 +0000 +++ rust-inotify-sys-0.1.5/debian/tests/control 2022-02-22 00:23:42.000000000 +0000 @@ -1,9 +1,14 @@ -Test-Command: /usr/share/cargo/bin/cargo-auto-test inotify-sys 0.1.3 --all-targets --all-features -Features: test-name=@ +Test-Command: /usr/share/cargo/bin/cargo-auto-test inotify-sys 0.1.5 --all-targets --all-features +Features: test-name=rust-inotify-sys:@ Depends: dh-cargo (>= 18), @ Restrictions: allow-stderr, skip-not-installable -Test-Command: /usr/share/cargo/bin/cargo-auto-test inotify-sys 0.1.3 --all-targets --no-default-features -Features: test-name=librust-inotify-sys-dev +Test-Command: /usr/share/cargo/bin/cargo-auto-test inotify-sys 0.1.5 --all-targets +Features: test-name=librust-inotify-sys-dev:default +Depends: dh-cargo (>= 18), @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test inotify-sys 0.1.5 --all-targets --no-default-features +Features: test-name=librust-inotify-sys-dev: Depends: dh-cargo (>= 18), @ Restrictions: allow-stderr, skip-not-installable diff -Nru rust-inotify-sys-0.1.3/inotify-sys.sublime-project rust-inotify-sys-0.1.5/inotify-sys.sublime-project --- rust-inotify-sys-0.1.3/inotify-sys.sublime-project 2017-10-27 09:05:41.000000000 +0000 +++ rust-inotify-sys-0.1.5/inotify-sys.sublime-project 1970-01-01 00:00:00.000000000 +0000 @@ -1,9 +0,0 @@ -{ - "folders": - [ - { - "path": ".", - "file_exclude_patterns": [ "target/*" ] - } - ] -} diff -Nru rust-inotify-sys-0.1.3/LICENSE rust-inotify-sys-0.1.5/LICENSE --- rust-inotify-sys-0.1.3/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ rust-inotify-sys-0.1.5/LICENSE 2021-01-16 09:35:58.000000000 +0000 @@ -0,0 +1,13 @@ +Copyright (c) Hanno Braun and contributors + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. \ No newline at end of file diff -Nru rust-inotify-sys-0.1.3/README.md rust-inotify-sys-0.1.5/README.md --- rust-inotify-sys-0.1.3/README.md 2017-10-27 09:05:41.000000000 +0000 +++ rust-inotify-sys-0.1.5/README.md 2021-01-16 09:35:58.000000000 +0000 @@ -5,7 +5,7 @@ ## License -Copyright (c) 2014-2017, Hanno Braun and contributors +Copyright (c) Hanno Braun and contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice diff -Nru rust-inotify-sys-0.1.3/src/lib.rs rust-inotify-sys-0.1.5/src/lib.rs --- rust-inotify-sys-0.1.3/src/lib.rs 2018-07-17 09:06:02.000000000 +0000 +++ rust-inotify-sys-0.1.5/src/lib.rs 2020-11-06 17:29:39.000000000 +0000 @@ -1,5 +1,4 @@ #![deny(missing_docs)] -#![deny(warnings)] //! # inotify bindings for the Rust programming language @@ -36,7 +35,7 @@ use libc::{ c_char, c_int, - uint32_t }; +}; /// Set the `FD_CLOEXEC` flag for an inotify instance @@ -83,7 +82,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_ACCESS: uint32_t = 0x00000001; +pub const IN_ACCESS: u32 = 0x00000001; /// Event: File was modified /// @@ -100,7 +99,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_MODIFY: uint32_t = 0x00000002; +pub const IN_MODIFY: u32 = 0x00000002; /// Event: Metadata was changed /// @@ -131,7 +130,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_ATTRIB: uint32_t = 0x00000004; +pub const IN_ATTRIB: u32 = 0x00000004; /// Event: Writable file was closed /// @@ -148,7 +147,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_CLOSE_WRITE: uint32_t = 0x00000008; +pub const IN_CLOSE_WRITE: u32 = 0x00000008; /// Event: Non-writable file or directory was closed /// @@ -165,7 +164,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_CLOSE_NOWRITE: uint32_t = 0x00000010; +pub const IN_CLOSE_NOWRITE: u32 = 0x00000010; /// Event: File or directory was opened /// @@ -182,7 +181,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_OPEN: uint32_t = 0x00000020; +pub const IN_OPEN: u32 = 0x00000020; /// Event: File or directory was moved out of watched directory /// @@ -197,7 +196,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_MOVED_FROM: uint32_t = 0x00000040; +pub const IN_MOVED_FROM: u32 = 0x00000040; /// Event: File or directory was moved into watched directory /// @@ -214,7 +213,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_MOVED_TO: uint32_t = 0x00000080; +pub const IN_MOVED_TO: u32 = 0x00000080; /// Event: File or directory was created in watched directory /// @@ -233,7 +232,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_CREATE: uint32_t = 0x00000100; +pub const IN_CREATE: u32 = 0x00000100; /// Event: File or directory in watched directory was deleted /// @@ -252,7 +251,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_DELETE: uint32_t = 0x00000200; +pub const IN_DELETE: u32 = 0x00000200; /// Event: Watched file or directory was deleted /// @@ -273,7 +272,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_DELETE_SELF: uint32_t = 0x00000400; +pub const IN_DELETE_SELF: u32 = 0x00000400; /// Event: Watched file or directory was moved /// @@ -287,7 +286,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_MOVE_SELF: uint32_t = 0x00000800; +pub const IN_MOVE_SELF: u32 = 0x00000800; /// Event: File or directory within watched directory was moved /// @@ -305,7 +304,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO); +pub const IN_MOVE: u32 = IN_MOVED_FROM | IN_MOVED_TO; /// Event: File was closed /// @@ -323,7 +322,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`mask`]: struct.inotify_event.html#structfield.mask /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_CLOSE: uint32_t = (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE); +pub const IN_CLOSE: u32 = IN_CLOSE_WRITE | IN_CLOSE_NOWRITE; /// Event: Any event occured /// @@ -363,10 +362,10 @@ /// [`IN_OPEN`]: constant.IN_OPEN.html /// [`inotify_add_watch`]: fn.inotify_add_watch.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_ALL_EVENTS: uint32_t = ( +pub const IN_ALL_EVENTS: u32 = IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE - | IN_DELETE_SELF | IN_MOVE_SELF); + | IN_DELETE_SELF | IN_MOVE_SELF; /// Only watch path, if it is a directory /// @@ -377,7 +376,7 @@ /// /// [`inotify_add_watch`]: fn.inotify_add_watch.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_ONLYDIR: uint32_t = 0x01000000; +pub const IN_ONLYDIR: u32 = 0x01000000; /// Don't dereference path, if it is a symbolic link /// @@ -388,7 +387,7 @@ /// /// [`inotify_add_watch`]: fn.inotify_add_watch.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_DONT_FOLLOW: uint32_t = 0x02000000; +pub const IN_DONT_FOLLOW: u32 = 0x02000000; /// Ignore events for children, that have been unlinked from watched directory /// @@ -399,7 +398,7 @@ /// /// [`inotify_add_watch`]: fn.inotify_add_watch.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_EXCL_UNLINK: uint32_t = 0x04000000; +pub const IN_EXCL_UNLINK: u32 = 0x04000000; /// Update existing watch mask, instead of replacing it /// @@ -410,7 +409,7 @@ /// /// [`inotify_add_watch`]: fn.inotify_add_watch.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_MASK_ADD: uint32_t = 0x20000000; +pub const IN_MASK_ADD: u32 = 0x20000000; /// Remove watch after one event /// @@ -421,7 +420,7 @@ /// /// [`inotify_add_watch`]: fn.inotify_add_watch.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_ONESHOT: uint32_t = 0x80000000; +pub const IN_ONESHOT: u32 = 0x80000000; /// Indicates that the subject of an event is a directory /// @@ -433,7 +432,7 @@ /// [`mask`]: struct.inotify_event.html#structfield.mask /// [`inotify_event`]: struct.inotify_event.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_ISDIR: uint32_t = 0x40000000; +pub const IN_ISDIR: u32 = 0x40000000; /// Indicates that file system containing a watched object has been unmounted /// @@ -448,7 +447,7 @@ /// [`mask`]: struct.inotify_event.html#structfield.mask /// [`inotify_event`]: struct.inotify_event.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_UNMOUNT: uint32_t = 0x00002000; +pub const IN_UNMOUNT: u32 = 0x00002000; /// Indicates that the event queue has overflowed /// @@ -460,7 +459,7 @@ /// [`mask`]: struct.inotify_event.html#structfield.mask /// [`inotify_event`]: struct.inotify_event.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_Q_OVERFLOW: uint32_t = 0x00004000; +pub const IN_Q_OVERFLOW: u32 = 0x00004000; /// Indicates that a file system watch was removed /// @@ -478,7 +477,7 @@ /// [`mask`]: struct.inotify_event.html#structfield.mask /// [`inotify_event`]: struct.inotify_event.html /// [man page]: http://man7.org/linux/man-pages/man7/inotify.7.html -pub const IN_IGNORED: uint32_t = 0x00008000; +pub const IN_IGNORED: u32 = 0x00008000; /// Describes a file system event @@ -555,7 +554,7 @@ /// [`IN_OPEN`]: constant.IN_OPEN.html /// [`IN_Q_OVERFLOW`]: constant.IN_Q_OVERFLOW.html /// [`IN_UNMOUNT`]: constant.IN_UNMOUNT.html - pub mask: uint32_t, + pub mask: u32, /// A number that connects related events /// @@ -565,7 +564,7 @@ /// /// [`IN_MOVED_FROM`]: constant.IN_MOVED_FROM.html /// [`IN_MOVED_TO`]: constant.IN_MOVED_TO.html - pub cookie: uint32_t, + pub cookie: u32, /// The length of `name` /// @@ -581,7 +580,7 @@ /// > align subsequent reads to a suitable address boundary. /// /// The `name` field has been ommited in this struct's definition. - pub len: uint32_t, + pub len: u32, } @@ -691,7 +690,7 @@ /// [`inotify_event`]: struct.inotify_event.html /// [`wd`]: struct.inotify_event.html#structfield.wd /// [man page]: http://man7.org/linux/man-pages/man2/inotify_add_watch.2.html - pub fn inotify_add_watch(fd: c_int, pathname: *const c_char, mask: uint32_t) -> c_int; + pub fn inotify_add_watch(fd: c_int, pathname: *const c_char, mask: u32) -> c_int; /// Removes an inotify watch /// diff -Nru rust-inotify-sys-0.1.3/.travis.yml rust-inotify-sys-0.1.5/.travis.yml --- rust-inotify-sys-0.1.3/.travis.yml 2017-10-27 09:05:41.000000000 +0000 +++ rust-inotify-sys-0.1.5/.travis.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -language: rust - -# Test on the latest versions of all channels. -rust: - - stable - - beta - - nightly - -script: - - cargo test