forked from awslabs/mountpoint-s3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update fuser to v0.15.0 (awslabs#1088)
## Description of change Update fuser to the latest release, [v0.15.0](https://github.com/cberner/fuser/releases/tag/v0.15.0). --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the [Developer Certificate of Origin (DCO)](https://developercertificate.org/). --------- Signed-off-by: Alessandro Passaro <[email protected]>
- Loading branch information
Showing
32 changed files
with
587 additions
and
245 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,26 +2,28 @@ name: CI | |
|
||
on: | ||
pull_request: | ||
push: # required for actions/cache to work | ||
branches: | ||
- master | ||
|
||
jobs: | ||
compile: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
libfuse: [libfuse-dev, libfuse3-dev] | ||
features: [ '', 'abi-7-19' ] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Install packages | ||
run: | | ||
sudo apt update | ||
sudo apt install -y ${{ matrix.libfuse }} build-essential | ||
- uses: actions-rs/toolchain@v1 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
target: x86_64-unknown-linux-musl | ||
default: true | ||
|
||
- name: Run tests | ||
run: | | ||
|
@@ -31,41 +33,33 @@ jobs: | |
cargo test --all --features=${{ matrix.features }} | ||
cargo doc --all --no-deps --features=${{ matrix.features }} | ||
ci: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
test_group: [pre, mount_tests, pjdfs_tests, xfstests] | ||
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Install packages | ||
run: | | ||
sudo apt update | ||
sudo apt install -y libfuse-dev libfuse3-dev build-essential | ||
- uses: actions-rs/toolchain@v1 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: rustfmt, clippy | ||
default: true | ||
|
||
- name: Cache cargo registry | ||
uses: actions/cache@v1 | ||
- uses: taiki-e/install-action@v2 | ||
with: | ||
path: ~/.cargo/registry | ||
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo index | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.cargo/git | ||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} | ||
- name: Cache cargo build | ||
uses: actions/cache@v1 | ||
with: | ||
path: target | ||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} | ||
tool: [email protected] | ||
|
||
- name: Install cargo-deny | ||
run: cargo install --force --version 0.12.2 cargo-deny --locked | ||
- name: Run tests | ||
run: INTERACTIVE="" make pre | ||
|
||
test: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
test_group: [mount_tests, pjdfs_tests, xfstests] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Run tests | ||
run: INTERACTIVE="" make ${{ matrix.test_group }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,35 @@ | ||
[package] | ||
name = "fuser" | ||
edition = "2018" | ||
version = "0.14.0" | ||
authors = ["Christopher Berner <[email protected]>"] | ||
description = "Filesystem in Userspace (FUSE) for Rust" | ||
license = "MIT" | ||
repository = "https://github.com/cberner/fuser" | ||
documentation = "https://docs.rs/fuser" | ||
homepage = "https://github.com/cberner/fuser" | ||
repository = "https://github.com/cberner/fuser" | ||
version = "0.15.0" | ||
edition = "2021" | ||
readme = "README.md" | ||
authors = ["Christopher Berner <[email protected]>"] | ||
keywords = ["fuse", "filesystem", "system", "bindings"] | ||
categories = ["external-ffi-bindings", "api-bindings", "filesystem", "os::unix-apis"] | ||
build = "build.rs" | ||
license = "MIT" | ||
|
||
[badges] | ||
travis-ci = { repository = "cberner/fuser" } | ||
|
||
[dependencies] | ||
libc = "0.2.51" | ||
log = "0.4.6" | ||
memchr = "2" | ||
memchr = "2.7.2" | ||
page_size = "0.6.0" | ||
serde = { version = "1.0.102", features = ["std", "derive"], optional = true } | ||
smallvec = "1.6.1" | ||
zerocopy = { version = "0.7", features = ["derive"] } | ||
zerocopy = { version = "0.8", features = ["derive"] } | ||
nix = { version = "0.29.0", features = ["fs", "user"] } | ||
|
||
[dev-dependencies] | ||
env_logger = "0.10" | ||
env_logger = "0.11.3" | ||
clap = { version = "4.4", features = ["cargo", "derive"] } | ||
bincode = "1.3.1" | ||
serde = { version = "1.0.102", features = ["std", "derive"] } | ||
tempfile = "3" | ||
nix = { version = "0.27.1", features = ["poll", "fs"] } | ||
tempfile = "3.10.1" | ||
nix = { version = "0.29.0", features = ["poll", "fs", "ioctl"] } | ||
|
||
[build-dependencies] | ||
pkg-config = { version = "0.3.14", optional = true } | ||
|
@@ -40,6 +38,7 @@ pkg-config = { version = "0.3.14", optional = true } | |
default = ["libfuse"] | ||
libfuse = ["pkg-config"] | ||
serializable = ["serde"] | ||
macfuse-4-compat = [] | ||
abi-7-9 = [] | ||
abi-7-10 = ["abi-7-9"] | ||
abi-7-11 = ["abi-7-10"] | ||
|
@@ -79,3 +78,7 @@ required-features = ["abi-7-12"] | |
[[example]] | ||
name = "notify_inval_inode" | ||
required-features = ["abi-7-12"] | ||
|
||
[[example]] | ||
name = "ioctl" | ||
required-features = ["abi-7-11"] |
Oops, something went wrong.