diff options
| author | Luca Casonato <hello@lcas.dev> | 2023-04-12 15:13:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-12 15:13:32 +0200 |
| commit | f90caa821c5a4acf28f7dec4071994ecf6f26e57 (patch) | |
| tree | fa4af65399a16a9f2d17fa2b249f21be2c00b976 /Cargo.lock | |
| parent | 0e3f62d4446ae7b9a64dacf7befcaecede118222 (diff) | |
refactor(ext/fs): abstract FS via FileSystem trait (#18599)
This commit abstracts out the specifics of the underlying system calls
FS operations behind a new `FileSystem` and `File` trait in the
`ext/fs` extension.
This allows other embedders to re-use ext/fs, but substituting in a
different FS backend.
This is likely not the final form of these traits. Eventually they will
be entirely `deno_core::Resource` agnostic, and will live in a seperate
crate.
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock index d6874d452..7eca48a2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1002,14 +1002,15 @@ dependencies = [ name = "deno_fs" version = "0.7.0" dependencies = [ + "async-trait", "deno_core", - "deno_crypto", "deno_io", "filetime", "fs3", "libc", "log", "nix", + "rand", "serde", "tokio", "winapi", |
