Release memofs v0.3.1 (#1175)

This commit is contained in:
Micah
2025-11-27 12:32:57 -08:00
committed by GitHub
parent 42568b9709
commit b89cc7f398
5 changed files with 7 additions and 11 deletions

2
Cargo.lock generated
View File

@@ -1313,7 +1313,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
[[package]] [[package]]
name = "memofs" name = "memofs"
version = "0.3.0" version = "0.3.1"
dependencies = [ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"fs-err", "fs-err",

View File

@@ -46,7 +46,7 @@ name = "build"
harness = false harness = false
[dependencies] [dependencies]
memofs = { version = "0.3.0", path = "crates/memofs" } memofs = { version = "0.3.1", path = "crates/memofs" }
# These dependencies can be uncommented when working on rbx-dom simultaneously # These dependencies can be uncommented when working on rbx-dom simultaneously
# rbx_binary = { path = "../rbx-dom/rbx_binary", features = [ # rbx_binary = { path = "../rbx-dom/rbx_binary", features = [

View File

@@ -1,6 +1,8 @@
# memofs Changelog # memofs Changelog
## Unreleased Changes ## Unreleased Changes
## 0.3.1 (2025-11-27)
* Added `Vfs::exists`. [#1169] * Added `Vfs::exists`. [#1169]
* Added `create_dir` and `create_dir_all` to allow creating directories. [#937] * Added `create_dir` and `create_dir_all` to allow creating directories. [#937]

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "memofs" name = "memofs"
description = "Virtual filesystem with configurable backends." description = "Virtual filesystem with configurable backends."
version = "0.3.0" version = "0.3.1"
authors = [ authors = [
"Lucien Greathouse <me@lpghatguy.com>", "Lucien Greathouse <me@lpghatguy.com>",
"Micah Reid <git@dekkonot.com>", "Micah Reid <git@dekkonot.com>",

View File

@@ -31,17 +31,11 @@ impl VfsBackend for NoopBackend {
} }
fn create_dir(&mut self, _path: &Path) -> io::Result<()> { fn create_dir(&mut self, _path: &Path) -> io::Result<()> {
Err(io::Error::new( Err(io::Error::other("NoopBackend doesn't do anything"))
io::ErrorKind::Other,
"NoopBackend doesn't do anything",
))
} }
fn create_dir_all(&mut self, _path: &Path) -> io::Result<()> { fn create_dir_all(&mut self, _path: &Path) -> io::Result<()> {
Err(io::Error::new( Err(io::Error::other("NoopBackend doesn't do anything"))
io::ErrorKind::Other,
"NoopBackend doesn't do anything",
))
} }
fn remove_file(&mut self, _path: &Path) -> io::Result<()> { fn remove_file(&mut self, _path: &Path) -> io::Result<()> {