mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
chore: update dependencies
This commit is contained in:
parent
ad037b3b1a
commit
678fb14613
21 changed files with 299 additions and 254 deletions
421
Cargo.lock
generated
421
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -15,7 +15,7 @@ description = "Bench and profiling utilities for deno crates"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bencher = "0.1"
|
bencher = "0.1"
|
||||||
deno_core = { version = "0.98.0", path = "../core" }
|
deno_core = { version = "0.98.0", path = "../core" }
|
||||||
tokio = { version = "1.8.0", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "op_baseline"
|
name = "op_baseline"
|
||||||
|
|
|
@ -35,8 +35,8 @@ deno_webgpu = { version = "0.17.0", path = "../ext/webgpu" }
|
||||||
deno_webidl = { version = "0.16.0", path = "../ext/webidl" }
|
deno_webidl = { version = "0.16.0", path = "../ext/webidl" }
|
||||||
deno_websocket = { version = "0.21.0", path = "../ext/websocket" }
|
deno_websocket = { version = "0.21.0", path = "../ext/websocket" }
|
||||||
deno_webstorage = { version = "0.11.0", path = "../ext/webstorage" }
|
deno_webstorage = { version = "0.11.0", path = "../ext/webstorage" }
|
||||||
regex = "1.4.3"
|
regex = "1.4.3" # Locked in deno_doc
|
||||||
serde = { version = "1.0.125", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
|
|
||||||
[target.'cfg(windows)'.build-dependencies]
|
[target.'cfg(windows)'.build-dependencies]
|
||||||
winapi = "0.3.9"
|
winapi = "0.3.9"
|
||||||
|
@ -56,40 +56,40 @@ clap = "2.33.3"
|
||||||
data-url = "0.1.0"
|
data-url = "0.1.0"
|
||||||
dissimilar = "1.0.2"
|
dissimilar = "1.0.2"
|
||||||
dprint-plugin-json = "0.12.3"
|
dprint-plugin-json = "0.12.3"
|
||||||
dprint-plugin-markdown = "0.9.4"
|
dprint-plugin-markdown = "0.9.6"
|
||||||
dprint-plugin-typescript = "0.50.2"
|
dprint-plugin-typescript = "0.50.2"
|
||||||
encoding_rs = "0.8.28"
|
encoding_rs = "0.8.28"
|
||||||
env_logger = "0.8.4"
|
env_logger = "0.8.4"
|
||||||
fancy-regex = "0.5.0"
|
fancy-regex = "0.7.1"
|
||||||
filetime = "0.2.14"
|
filetime = "0.2.14"
|
||||||
http = "0.2.4"
|
http = "0.2.4"
|
||||||
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved
|
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved
|
||||||
indexmap = { version = "=1.6.2", features = ["serde"] }
|
indexmap = { version = "=1.6.2", features = ["serde"] }
|
||||||
jsonc-parser = { version = "0.17.0", features = ["serde"] }
|
jsonc-parser = { version = "0.17.0", features = ["serde"] }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
libc = "0.2.98"
|
libc = "0.2.101"
|
||||||
log = { version = "0.4.14", features = ["serde"] }
|
log = { version = "0.4.14", features = ["serde"] }
|
||||||
lspower = "1.1.0"
|
lspower = "1.1.0"
|
||||||
notify = "5.0.0-pre.10"
|
notify = "5.0.0-pre.12"
|
||||||
num_cpus = "1.13.0"
|
num_cpus = "1.13.0"
|
||||||
percent-encoding = "2.1.0"
|
percent-encoding = "2.1.0"
|
||||||
pin-project = "1.0.7"
|
pin-project = "1.0.8"
|
||||||
rand = { version = "0.8.4", features = ["small_rng"] }
|
rand = { version = "0.8.4", features = ["small_rng"] }
|
||||||
regex = "1.4.3"
|
regex = "1.4.3" # Locked in deno_doc
|
||||||
ring = "0.16.20"
|
ring = "0.16.20"
|
||||||
rustyline = { version = "8.2.0", default-features = false }
|
rustyline = { version = "9.0.0", default-features = false }
|
||||||
rustyline-derive = "0.4.0"
|
rustyline-derive = "0.5.0"
|
||||||
semver-parser = "0.10.2"
|
semver-parser = "0.10.2"
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
shell-escape = "0.1.5"
|
shell-escape = "0.1.5"
|
||||||
sourcemap = "6.0.1"
|
sourcemap = "6.0.1"
|
||||||
swc_bundler = "0.50.0"
|
swc_bundler = "0.50.0"
|
||||||
swc_common = { version = "0.11.4", features = ["sourcemap"] }
|
swc_common = { version = "0.11.7", features = ["sourcemap"] }
|
||||||
swc_ecmascript = { version = "0.52.1", features = ["codegen", "dep_graph", "parser", "proposal", "react", "transforms", "typescript", "visit"] }
|
swc_ecmascript = { version = "0.52.1", features = ["codegen", "dep_graph", "parser", "proposal", "react", "transforms", "typescript", "visit"] }
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
termcolor = "1.1.2"
|
termcolor = "1.1.2"
|
||||||
text-size = "1.1.0"
|
text-size = "1.1.0"
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
tokio-rustls = "0.22.0"
|
tokio-rustls = "0.22.0"
|
||||||
uuid = { version = "0.8.2", features = ["v4", "serde"] }
|
uuid = { version = "0.8.2", features = ["v4", "serde"] }
|
||||||
walkdir = "2.3.2"
|
walkdir = "2.3.2"
|
||||||
|
@ -110,7 +110,7 @@ trust-dns-server = "0.20.3"
|
||||||
|
|
||||||
[target.'cfg(unix)'.dev-dependencies]
|
[target.'cfg(unix)'.dev-dependencies]
|
||||||
exec = "0.3.1" # Used in test_raw_tty
|
exec = "0.3.1" # Used in test_raw_tty
|
||||||
nix = "0.20.0"
|
nix = "0.22.1"
|
||||||
|
|
||||||
[package.metadata.winres]
|
[package.metadata.winres]
|
||||||
# This section defines the metadata that appears in the deno.exe PE header.
|
# This section defines the metadata that appears in the deno.exe PE header.
|
||||||
|
|
|
@ -222,7 +222,7 @@ fn new_watcher(
|
||||||
let changed_paths = Arc::clone(&debounce.changed_paths);
|
let changed_paths = Arc::clone(&debounce.changed_paths);
|
||||||
|
|
||||||
let mut watcher: RecommendedWatcher =
|
let mut watcher: RecommendedWatcher =
|
||||||
Watcher::new_immediate(move |res: Result<NotifyEvent, NotifyError>| {
|
Watcher::new(move |res: Result<NotifyEvent, NotifyError>| {
|
||||||
if let Ok(event) = res {
|
if let Ok(event) = res {
|
||||||
if matches!(
|
if matches!(
|
||||||
event.kind,
|
event.kind,
|
||||||
|
|
|
@ -13,18 +13,18 @@ description = "A secure JavaScript/TypeScript runtime built with V8, Rust, and T
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.41"
|
anyhow = "1.0.43"
|
||||||
futures = "0.3.15"
|
futures = "0.3.16"
|
||||||
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved
|
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved
|
||||||
indexmap = "=1.6.2"
|
indexmap = "=1.6.2"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
libc = "0.2.98"
|
libc = "0.2.101"
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
parking_lot = "0.11.1"
|
parking_lot = "0.11.1"
|
||||||
pin-project = "1.0.7"
|
pin-project = "1.0.7"
|
||||||
rusty_v8 = "0.26.0"
|
rusty_v8 = "0.26.0"
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
serde_json = { version = "1.0.64", features = ["preserve_order"] }
|
serde_json = { version = "1.0.66", features = ["preserve_order"] }
|
||||||
serde_v8 = { version = "0.9.3" }
|
serde_v8 = { version = "0.9.3" }
|
||||||
url = { version = "2.2.2", features = ["serde"] }
|
url = { version = "2.2.2", features = ["serde"] }
|
||||||
|
|
||||||
|
@ -34,4 +34,4 @@ path = "examples/http_bench_json_ops.rs"
|
||||||
|
|
||||||
# These dependencies are only used for the 'http_bench_*_ops' examples.
|
# These dependencies are only used for the 'http_bench_*_ops' examples.
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
|
|
|
@ -16,5 +16,5 @@ path = "lib.rs"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
uuid = { version = "0.8.2", features = ["v4"] }
|
uuid = { version = "0.8.2", features = ["v4"] }
|
||||||
|
|
|
@ -21,8 +21,8 @@ num-traits = "0.2.14"
|
||||||
rand = "0.8.4"
|
rand = "0.8.4"
|
||||||
ring = { version = "0.16.20", features = ["std"] }
|
ring = { version = "0.16.20", features = ["std"] }
|
||||||
rsa = { version = "0.5.0", default-features = false, features = ["std"] }
|
rsa = { version = "0.5.0", default-features = false, features = ["std"] }
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
sha-1 = "0.9.7"
|
sha-1 = "0.9.7"
|
||||||
sha2 = "0.9.5"
|
sha2 = "0.9.5"
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
uuid = { version = "0.8.2", features = ["v4"] }
|
uuid = { version = "0.8.2", features = ["v4"] }
|
||||||
|
|
|
@ -14,7 +14,7 @@ description = "Fetch API implementation for Deno"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0.1"
|
bytes = "1.1.0"
|
||||||
data-url = "0.1.0"
|
data-url = "0.1.0"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
deno_tls = { version = "0.3.0", path = "../tls" }
|
deno_tls = { version = "0.3.0", path = "../tls" }
|
||||||
|
@ -22,7 +22,7 @@ deno_web = { version = "0.47.0", path = "../web" }
|
||||||
http = "0.2.4"
|
http = "0.2.4"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
|
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
tokio-stream = "0.1.7"
|
tokio-stream = "0.1.7"
|
||||||
tokio-util = "0.6.7"
|
tokio-util = "0.6.7"
|
||||||
|
|
|
@ -17,4 +17,4 @@ path = "lib.rs"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
dlopen = "0.1.8"
|
dlopen = "0.1.8"
|
||||||
libffi = { version = "=0.0.7", package = "deno-libffi" }
|
libffi = { version = "=0.0.7", package = "deno-libffi" }
|
||||||
serde = { version = "1.0.125", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
|
|
|
@ -20,6 +20,6 @@ deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
deno_websocket = { version = "0.21.0", path = "../websocket" }
|
deno_websocket = { version = "0.21.0", path = "../websocket" }
|
||||||
hyper = { version = "0.14.9", features = ["server", "stream", "http1", "http2", "runtime"] }
|
hyper = { version = "0.14.9", features = ["server", "stream", "http1", "http2", "runtime"] }
|
||||||
ring = "0.16.20"
|
ring = "0.16.20"
|
||||||
serde = { version = "1.0.125", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
tokio = { version = "1.8.0", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
tokio-util = { version = "0.6.7", features = ["io"] }
|
tokio-util = { version = "0.6.7", features = ["io"] }
|
||||||
|
|
|
@ -19,7 +19,7 @@ deno_tls = { version = "0.3.0", path = "../tls" }
|
||||||
|
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
trust-dns-proto = "0.20.3"
|
trust-dns-proto = "0.20.3"
|
||||||
trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] }
|
trust-dns-resolver = { version = "0.20.3", features = ["tokio-runtime", "serde-config"] }
|
||||||
|
|
|
@ -15,7 +15,7 @@ path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
deno_bench_util = { version = "0.10.0", path = "../../bench_util" }
|
deno_bench_util = { version = "0.10.0", path = "../../bench_util" }
|
||||||
|
|
|
@ -19,6 +19,6 @@ lazy_static = "1.4.0"
|
||||||
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
|
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
|
||||||
rustls = { version = "0.19.1", features = ["dangerous_configuration"] }
|
rustls = { version = "0.19.1", features = ["dangerous_configuration"] }
|
||||||
rustls-native-certs = "0.5.0"
|
rustls-native-certs = "0.5.0"
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
webpki = "0.21.4"
|
webpki = "0.21.4"
|
||||||
webpki-roots = "0.21.1"
|
webpki-roots = "0.21.1"
|
||||||
|
|
|
@ -17,7 +17,7 @@ path = "lib.rs"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
idna = "0.2.3"
|
idna = "0.2.3"
|
||||||
percent-encoding = "2.1.0"
|
percent-encoding = "2.1.0"
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
serde_repr = "0.1.7"
|
serde_repr = "0.1.7"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -14,12 +14,12 @@ description = "Collection of Web APIs"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1.50"
|
async-trait = "0.1.51"
|
||||||
base64 = "0.13.0"
|
base64 = "0.13.0"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
encoding_rs = "0.8.28"
|
encoding_rs = "0.8.28"
|
||||||
serde = "1.0"
|
serde = "1.0.129"
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
uuid = { version = "0.8.2", features = ["v4", "serde"] }
|
uuid = { version = "0.8.2", features = ["v4", "serde"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -15,7 +15,7 @@ path = "lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
wgpu-core = { version = "0.10.0", features = ["trace"] }
|
wgpu-core = { version = "0.10.1", features = ["trace"] }
|
||||||
wgpu-types = "0.10.0"
|
wgpu-types = "0.10.0"
|
||||||
|
|
|
@ -17,8 +17,8 @@ path = "lib.rs"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
deno_tls = { version = "0.3.0", path = "../tls" }
|
deno_tls = { version = "0.3.0", path = "../tls" }
|
||||||
http = "0.2.4"
|
http = "0.2.4"
|
||||||
hyper = { version = "0.14.9" }
|
hyper = { version = "0.14.12" }
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
tokio-rustls = "0.22.0"
|
tokio-rustls = "0.22.0"
|
||||||
tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] }
|
tokio-tungstenite = { version = "0.14.0", features = ["rustls-tls"] }
|
||||||
|
|
|
@ -17,4 +17,4 @@ path = "lib.rs"
|
||||||
deno_core = { version = "0.98.0", path = "../../core" }
|
deno_core = { version = "0.98.0", path = "../../core" }
|
||||||
deno_web = { version = "0.47.0", path = "../web" }
|
deno_web = { version = "0.47.0", path = "../web" }
|
||||||
rusqlite = { version = "0.25.3", features = ["unlock_notify", "bundled"] }
|
rusqlite = { version = "0.25.3", features = ["unlock_notify", "bundled"] }
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
|
|
|
@ -64,23 +64,23 @@ deno_webstorage = { version = "0.11.0", path = "../ext/webstorage" }
|
||||||
atty = "0.2.14"
|
atty = "0.2.14"
|
||||||
dlopen = "0.1.8"
|
dlopen = "0.1.8"
|
||||||
encoding_rs = "0.8.28"
|
encoding_rs = "0.8.28"
|
||||||
filetime = "0.2.14"
|
filetime = "0.2.15"
|
||||||
fs3 = "0.5.0"
|
fs3 = "0.5.0"
|
||||||
http = "0.2.4"
|
http = "0.2.4"
|
||||||
hyper = { version = "0.14.10", features = ["server", "stream", "http1", "http2", "runtime"] }
|
hyper = { version = "0.14.12", features = ["server", "stream", "http1", "http2", "runtime"] }
|
||||||
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved
|
# TODO(lucacasonato): unlock when https://github.com/tkaitchuck/aHash/issues/95 is resolved
|
||||||
indexmap = "=1.6.2"
|
indexmap = "=1.6.2"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
libc = "0.2.98"
|
libc = "0.2.101"
|
||||||
log = "0.4.14"
|
log = "0.4.14"
|
||||||
notify = "=5.0.0-pre.10"
|
notify = "=5.0.0-pre.12"
|
||||||
percent-encoding = "2.1.0"
|
percent-encoding = "2.1.0"
|
||||||
regex = "1.4.3"
|
regex = "1.4.3" # Locked in deno_doc
|
||||||
ring = "0.16.20"
|
ring = "0.16.20"
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.129", features = ["derive"] }
|
||||||
sys-info = "0.9.0"
|
sys-info = "0.9.0"
|
||||||
termcolor = "1.1.2"
|
termcolor = "1.1.2"
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
uuid = { version = "0.8.2", features = ["v4"] }
|
uuid = { version = "0.8.2", features = ["v4"] }
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
|
@ -88,7 +88,7 @@ fwdansi = "1.1.0"
|
||||||
winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
|
winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
|
||||||
|
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
nix = "0.20.0"
|
nix = "0.22.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# Used in benchmark
|
# Used in benchmark
|
||||||
|
|
|
@ -101,7 +101,7 @@ fn op_fs_events_open(
|
||||||
let (sender, receiver) = mpsc::channel::<Result<FsEvent, AnyError>>(16);
|
let (sender, receiver) = mpsc::channel::<Result<FsEvent, AnyError>>(16);
|
||||||
let sender = Mutex::new(sender);
|
let sender = Mutex::new(sender);
|
||||||
let mut watcher: RecommendedWatcher =
|
let mut watcher: RecommendedWatcher =
|
||||||
Watcher::new_immediate(move |res: Result<NotifyEvent, NotifyError>| {
|
Watcher::new(move |res: Result<NotifyEvent, NotifyError>| {
|
||||||
let res2 = res.map(FsEvent::from).map_err(AnyError::from);
|
let res2 = res.map(FsEvent::from).map_err(AnyError::from);
|
||||||
let sender = sender.lock();
|
let sender = sender.lock();
|
||||||
// Ignore result, if send failed it means that watcher was already closed,
|
// Ignore result, if send failed it means that watcher was already closed,
|
||||||
|
@ -114,11 +114,9 @@ fn op_fs_events_open(
|
||||||
RecursiveMode::NonRecursive
|
RecursiveMode::NonRecursive
|
||||||
};
|
};
|
||||||
for path in &args.paths {
|
for path in &args.paths {
|
||||||
state
|
let path = PathBuf::from(path);
|
||||||
.borrow_mut::<Permissions>()
|
state.borrow_mut::<Permissions>().read.check(&path)?;
|
||||||
.read
|
watcher.watch(&path, recursive_mode)?;
|
||||||
.check(&PathBuf::from(path))?;
|
|
||||||
watcher.watch(path, recursive_mode)?;
|
|
||||||
}
|
}
|
||||||
let resource = FsEventsResource {
|
let resource = FsEventsResource {
|
||||||
watcher,
|
watcher,
|
||||||
|
|
|
@ -12,18 +12,18 @@ name = "test_server"
|
||||||
path = "src/test_server.rs"
|
path = "src/test_server.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.41"
|
anyhow = "1.0.43"
|
||||||
async-stream = "0.3.2"
|
async-stream = "0.3.2"
|
||||||
bytes = "1.0.1"
|
bytes = "1.1.0"
|
||||||
futures = "0.3.15"
|
futures = "0.3.16"
|
||||||
hyper = { version = "0.14.10", features = ["server", "http1", "runtime"] }
|
hyper = { version = "0.14.12", features = ["server", "http1", "runtime"] }
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
os_pipe = "0.9.2"
|
os_pipe = "0.9.2"
|
||||||
regex = "1.4.3"
|
regex = "1.4.3" # Locked in deno_doc
|
||||||
serde = { version = "1.0.126", features = ["derive"] }
|
serde = { version = "1.0.126", features = ["derive"] }
|
||||||
serde_json = "1.0.64"
|
serde_json = "1.0.65"
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
tokio = { version = "1.8.1", features = ["full"] }
|
tokio = { version = "1.10.1", features = ["full"] }
|
||||||
tokio-rustls = "0.22.0"
|
tokio-rustls = "0.22.0"
|
||||||
tokio-tungstenite = "0.14.0"
|
tokio-tungstenite = "0.14.0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue