Skip to content

Commit c514478

Browse files
committed
Update documentation and Cargo.toml with fork's information
1 parent 33e78dc commit c514478

File tree

8 files changed

+51
-46
lines changed

8 files changed

+51
-46
lines changed

Diff for: CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# Rust FUSE - Changelog
1+
# FUSE for Rust - Changelog
22

33
## 0.4.0 - UNRELEASED
44

5+
* Forked as `fuser` crate, at https://github.com/cberner/fuser
56
* Split into `fuse`, `fuse-abi` and `fuse-sys` crate
67

78
## 0.3.1 - 2017-11-08

Diff for: Cargo.toml

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
2-
name = "fuse"
2+
name = "fuser"
33
edition = "2018"
4-
version = "0.4.0-dev"
5-
authors = ["Andreas Neuhaus <zargony@zargony.com>"]
6-
description = "Rust library for filesystems in userspace (FUSE)"
7-
documentation = "https://docs.rs/fuse"
8-
homepage = "https://github.com/zargony/rust-fuse"
9-
repository = "https://github.com/zargony/rust-fuse"
4+
version = "0.4.0"
5+
authors = ["Christopher Berner <christopherberner@gmail.com"]
6+
description = "Filesystem in Userspace (FUSE) for Rust"
7+
documentation = "https://docs.rs/fuser"
8+
homepage = "https://github.com/cberner/fuser"
9+
repository = "https://github.com/cberner/fuser"
1010
readme = "README.md"
1111
keywords = ["fuse", "filesystem", "system", "bindings"]
1212
categories = ["api-bindings", "filesystem"]
@@ -16,11 +16,11 @@ license = "MIT"
1616
members = [".", "fuse-abi", "fuse-sys"]
1717

1818
[badges]
19-
travis-ci = { repository = "zargony/rust-fuse" }
19+
travis-ci = { repository = "cberner/fuser" }
2020

2121
[dependencies]
22-
fuse-abi = { path = "./fuse-abi", version = "=0.4.0-dev" }
23-
fuse-sys = { path = "./fuse-sys", version = "=0.4.0-dev" }
22+
fuser-abi = { path = "./fuse-abi", version = "=0.4.0" }
23+
fuser-sys = { path = "./fuse-sys", version = "=0.4.0" }
2424
libc = "0.2.51"
2525
log = "0.4.6"
2626
thread-scoped = "1.0.2"
@@ -29,14 +29,14 @@ thread-scoped = "1.0.2"
2929
env_logger = "0.6.0"
3030

3131
[features]
32-
abi-7-9 = ["fuse-abi/abi-7-9"]
33-
abi-7-10 = ["abi-7-9", "fuse-abi/abi-7-10"]
34-
abi-7-11 = ["abi-7-10", "fuse-abi/abi-7-11"]
35-
abi-7-12 = ["abi-7-11", "fuse-abi/abi-7-12"]
36-
abi-7-13 = ["abi-7-12", "fuse-abi/abi-7-13"]
37-
abi-7-14 = ["abi-7-13", "fuse-abi/abi-7-14"]
38-
abi-7-15 = ["abi-7-14", "fuse-abi/abi-7-15"]
39-
abi-7-16 = ["abi-7-15", "fuse-abi/abi-7-16"]
40-
abi-7-17 = ["abi-7-16", "fuse-abi/abi-7-17"]
41-
abi-7-18 = ["abi-7-17", "fuse-abi/abi-7-18"]
42-
abi-7-19 = ["abi-7-18", "fuse-abi/abi-7-19"]
32+
abi-7-9 = ["fuser-abi/abi-7-9"]
33+
abi-7-10 = ["abi-7-9", "fuser-abi/abi-7-10"]
34+
abi-7-11 = ["abi-7-10", "fuser-abi/abi-7-11"]
35+
abi-7-12 = ["abi-7-11", "fuser-abi/abi-7-12"]
36+
abi-7-13 = ["abi-7-12", "fuser-abi/abi-7-13"]
37+
abi-7-14 = ["abi-7-13", "fuser-abi/abi-7-14"]
38+
abi-7-15 = ["abi-7-14", "fuser-abi/abi-7-15"]
39+
abi-7-16 = ["abi-7-15", "fuser-abi/abi-7-16"]
40+
abi-7-17 = ["abi-7-16", "fuser-abi/abi-7-17"]
41+
abi-7-18 = ["abi-7-17", "fuser-abi/abi-7-18"]
42+
abi-7-19 = ["abi-7-18", "fuser-abi/abi-7-19"]

Diff for: LICENSE.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
The MIT License (MIT)
22
=====================
33

4-
Copyright © `2013` `Andreas Neuhaus` `https://zargony.com/`
4+
Copyright (c) 2020-present Christopher Berner
5+
6+
Copyright © `2013-2019` `Andreas Neuhaus` `https://zargony.com/`
57

68
Permission is hereby granted, free of charge, to any person obtaining a copy of
79
this software and associated documentation files (the “Software”), to deal in

Diff for: README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
# Rust FUSE - Filesystem in Userspace
22

3-
[![Build Status](https://travis-ci.org/zargony/rust-fuse.svg?branch=master)](https://travis-ci.org/zargony/rust-fuse)
4-
[![Crates.io](https://img.shields.io/crates/v/fuse.svg)](https://crates.io/crates/fuse)
5-
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/zargony/rust-fuse/blob/master/LICENSE.md)
3+
[![Build Status](https://travis-ci.org/cberner/fuser.svg?branch=master)](https://travis-ci.org/cberner/fuser)
4+
[![Crates.io](https://img.shields.io/crates/v/fuser.svg)](https://crates.io/crates/fuser)
5+
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/cberner/fuser/blob/master/LICENSE.md)
66

77
## About
88

99
[Rust](http://rust-lang.org/) library for easy implementation of [FUSE](http://osxfuse.github.io) filesystems in userspace.
1010

1111
This library does not just provide bindings, it is actually an improved rewrite of the original FUSE C library to fully take advantage of Rust's architecture.
1212

13+
This library was originally forked from the [`fuse` crate](https://github.com/zargony/fuse-rs)
14+
1315
## Documentation
1416

15-
[Rust-FUSE reference](https://docs.rs/fuse)
17+
[Rust-FUSE reference](https://docs.rs/fuser)
1618

1719
## Details
1820

@@ -38,7 +40,7 @@ Put this in your `Cargo.toml`:
3840

3941
```toml
4042
[dependencies]
41-
fuse = "0.4"
43+
fuser = "0.4"
4244
```
4345

4446
To create a new filesystem, implement the trait `Filesystem`. Filesystem operations from the kernel are dispatched to the methods of the `Filesystem` trait. Most methods get a `reply` parameter that must be used to eventually answer the request. All methods have default implementations that reply with neutral answers, so if you implement no method at all, you still get a mountable filesystem that does nothing.
@@ -58,11 +60,11 @@ There's still a lot of stuff to be done. Feel free to contribute.
5860
- Interrupting a filesystem operation isn't handled yet.
5961
- An additional more high level API would be nice. It should provide pathnames instead inode numbers and automatically handle concurrency and interruption (like the FUSE C library's high level API).
6062

61-
In general, see the [list of issues](https://github.com/zargony/rust-fuse/issues) on GitHub and search the source files for comments containing "TODO" or "FIXME" to see what's still missing.
63+
In general, see the [list of issues](https://github.com/cberner/fuser/issues) on GitHub and search the source files for comments containing "TODO" or "FIXME" to see what's still missing.
6264

6365
## Compatibility
6466

65-
Developed and tested on macOS with [OSXFUSE](http://osxfuse.github.io) and on Linux with [FUSE](http://fuse.sourceforge.net), using stable, beta and nightly [Rust versions](http://www.rust-lang.org/install.html) (see [Travis CI](https://travis-ci.org/zargony/rust-fuse) for details).
67+
Developed and tested on macOS with [OSXFUSE](http://osxfuse.github.io) and on Linux with [FUSE](http://fuse.sourceforge.net), using stable, beta and nightly [Rust versions](http://www.rust-lang.org/install.html) (see [Travis CI](https://travis-ci.org/cberner/fuser) for details).
6668

6769
[FreeBSD](https://wiki.freebsd.org/FuseFilesystem) also works, but is not tested in CI.
6870

Diff for: examples/hello.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::env;
22
use std::ffi::OsStr;
33
use std::time::{Duration, UNIX_EPOCH};
44
use libc::ENOENT;
5-
use fuse::{FileType, FileAttr, Filesystem, Request, ReplyData, ReplyEntry, ReplyAttr, ReplyDirectory};
5+
use fuser::{FileType, FileAttr, Filesystem, Request, ReplyData, ReplyEntry, ReplyAttr, ReplyDirectory};
66

77
const TTL: Duration = Duration::from_secs(1); // 1 second
88

@@ -100,5 +100,5 @@ fn main() {
100100
.iter()
101101
.map(|o| o.as_ref())
102102
.collect::<Vec<&OsStr>>();
103-
fuse::mount(HelloFS, mountpoint, &options).unwrap();
103+
fuser::mount(HelloFS, mountpoint, &options).unwrap();
104104
}

Diff for: examples/null.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use std::env;
2-
use fuse::Filesystem;
2+
use fuser::Filesystem;
33

44
struct NullFS;
55

@@ -8,5 +8,5 @@ impl Filesystem for NullFS {}
88
fn main() {
99
env_logger::init();
1010
let mountpoint = env::args_os().nth(1).unwrap();
11-
fuse::mount(NullFS, mountpoint, &[]).unwrap();
11+
fuser::mount(NullFS, mountpoint, &[]).unwrap();
1212
}

Diff for: fuse-abi/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
2-
name = "fuse-abi"
2+
name = "fuser-abi"
33
edition = "2018"
4-
version = "0.4.0-dev"
5-
authors = ["Andreas Neuhaus <zargony@zargony.com>"]
4+
version = "0.4.0"
5+
authors = ["Christopher Berner <christopherberner@gmail.com"]
66
description = "ABI types for communicating with the FUSE kernel interface"
7-
documentation = "https://docs.rs/fuse"
8-
homepage = "https://github.com/zargony/rust-fuse"
9-
repository = "https://github.com/zargony/rust-fuse"
7+
documentation = "https://docs.rs/fuser"
8+
homepage = "https://github.com/cberner/fuser"
9+
repository = "https://github.com/cberner/fuser"
1010
readme = "README.md"
1111
keywords = ["fuse", "filesystem", "system", "bindings"]
1212
categories = ["external-ffi-bindings", "filesystem", "os::unix-apis"]

Diff for: fuse-sys/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
2-
name = "fuse-sys"
2+
name = "fuser-sys"
33
edition = "2018"
4-
version = "0.4.0-dev"
5-
authors = ["Andreas Neuhaus <zargony@zargony.com>"]
4+
version = "0.4.0"
5+
authors = ["Christopher Berner <christopherberner@gmail.com"]
66
description = "FFI bindings to the FUSE kernel interface and libfuse"
7-
documentation = "https://docs.rs/fuse"
8-
homepage = "https://github.com/zargony/rust-fuse"
9-
repository = "https://github.com/zargony/rust-fuse"
7+
documentation = "https://docs.rs/fuser"
8+
homepage = "https://github.com/cberner/fuser"
9+
repository = "https://github.com/cberner/fuser"
1010
readme = "README.md"
1111
keywords = ["fuse", "filesystem", "system", "bindings"]
1212
categories = ["external-ffi-bindings", "filesystem", "os::unix-apis"]

0 commit comments

Comments
 (0)