mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
update rslib/rspy deps
This commit is contained in:
parent
bc5b6dfb63
commit
75443b5171
4 changed files with 30 additions and 31 deletions
|
@ -8,48 +8,48 @@ description = "Anki's Rust library code"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nom = "5.0.1"
|
nom = "5.1.2"
|
||||||
failure = "0.1.7"
|
failure = "0.1.8"
|
||||||
prost = "0.6.1"
|
prost = "0.6.1"
|
||||||
bytes = "0.5.4"
|
bytes = "0.5.5"
|
||||||
chrono = "0.4.10"
|
chrono = "0.4.13"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
regex = "1.3.3"
|
regex = "1.3.9"
|
||||||
hex = "0.4.0"
|
hex = "0.4.2"
|
||||||
blake3 = "0.2.1"
|
blake3 = "0.3.5"
|
||||||
htmlescape = "0.3.1"
|
htmlescape = "0.3.1"
|
||||||
sha1 = "0.6.0"
|
sha1 = "0.6.0"
|
||||||
unicode-normalization = "0.1.12"
|
unicode-normalization = "0.1.13"
|
||||||
tempfile = "3.1.0"
|
tempfile = "3.1.0"
|
||||||
serde = "1.0.104"
|
serde = "1.0.114"
|
||||||
serde_json = "1.0.45"
|
serde_json = "1.0.56"
|
||||||
tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] }
|
tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] }
|
||||||
serde_derive = "1.0.104"
|
serde_derive = "1.0.114"
|
||||||
zip = "0.5.4"
|
zip = "0.5.6"
|
||||||
serde_tuple = "0.4.0"
|
serde_tuple = "0.5.0"
|
||||||
coarsetime = "=0.1.11"
|
coarsetime = "=0.1.11"
|
||||||
utime = "0.2.1"
|
utime = "0.3.1"
|
||||||
serde-aux = "0.6.1"
|
serde-aux = "0.6.1"
|
||||||
unic-langid = { version = "0.8.0", features = ["macros"] }
|
unic-langid = { version = "0.8.0", features = ["macros"] }
|
||||||
fluent = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" }
|
fluent = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" }
|
||||||
intl-memoizer = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" }
|
intl-memoizer = { git = "https://github.com/ankitects/fluent-rs.git", branch="32bit-panic" }
|
||||||
num-format = "0.4.0"
|
num-format = "0.4.0"
|
||||||
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_debug"] }
|
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_debug"] }
|
||||||
slog-term = "2.5.0"
|
slog-term = "2.6.0"
|
||||||
slog-async = "2.4.0"
|
slog-async = "2.5.0"
|
||||||
slog-envlogger = "2.2.0"
|
slog-envlogger = "2.2.0"
|
||||||
serde_repr = "0.1.5"
|
serde_repr = "0.1.6"
|
||||||
num_enum = "0.4.2"
|
num_enum = "0.5.0"
|
||||||
# pinned as any changes could invalidate sqlite indexes
|
# pinned as any changes could invalidate sqlite indexes
|
||||||
unicase = "=2.6.0"
|
unicase = "=2.6.0"
|
||||||
futures = "0.3.4"
|
futures = "0.3.5"
|
||||||
rand = "0.7.3"
|
rand = "0.7.3"
|
||||||
num-integer = "0.1.42"
|
num-integer = "0.1.43"
|
||||||
itertools = "0.9.0"
|
itertools = "0.9.0"
|
||||||
flate2 = "1.0.14"
|
flate2 = "1.0.16"
|
||||||
pin-project = "0.4.17"
|
pin-project = "0.4.22"
|
||||||
async-compression = { version = "0.3.4", features = ["stream", "gzip"] }
|
async-compression = { version = "0.3.5", features = ["stream", "gzip"] }
|
||||||
askama = "0.9.0"
|
askama = "0.10.1"
|
||||||
|
|
||||||
[target.'cfg(target_vendor="apple")'.dependencies.rusqlite]
|
[target.'cfg(target_vendor="apple")'.dependencies.rusqlite]
|
||||||
version = "0.23.1"
|
version = "0.23.1"
|
||||||
|
@ -60,14 +60,14 @@ version = "0.23.1"
|
||||||
features = ["trace", "functions", "collation", "bundled"]
|
features = ["trace", "functions", "collation", "bundled"]
|
||||||
|
|
||||||
[target.'cfg(linux)'.dependencies]
|
[target.'cfg(linux)'.dependencies]
|
||||||
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
reqwest = { version = "0.10.6", features = ["json", "socks", "stream", "native-tls-vendored"] }
|
||||||
|
|
||||||
[target.'cfg(not(linux))'.dependencies]
|
[target.'cfg(not(linux))'.dependencies]
|
||||||
reqwest = { version = "0.10.1", features = ["json", "socks", "stream" ] }
|
reqwest = { version = "0.10.6", features = ["json", "socks", "stream" ] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.6.1"
|
prost-build = "0.6.1"
|
||||||
fluent-syntax = "0.9.2"
|
fluent-syntax = "0.9.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.7.1"
|
env_logger = "0.7.1"
|
||||||
|
|
|
@ -261,7 +261,7 @@ mod test {
|
||||||
let secs = new_mtime
|
let secs = new_mtime
|
||||||
.duration_since(time::UNIX_EPOCH)
|
.duration_since(time::UNIX_EPOCH)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.as_secs();
|
.as_secs() as i64;
|
||||||
utime::set_file_times(p, secs, secs).unwrap();
|
utime::set_file_times(p, secs, secs).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -328,7 +328,7 @@ where
|
||||||
let secs = time::SystemTime::now()
|
let secs = time::SystemTime::now()
|
||||||
.duration_since(time::UNIX_EPOCH)
|
.duration_since(time::UNIX_EPOCH)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.as_secs();
|
.as_secs() as i64;
|
||||||
utime::set_file_times(&dst_path, secs, secs)?;
|
utime::set_file_times(&dst_path, secs, secs)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,10 +9,9 @@ readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anki = { path = "../rslib" }
|
anki = { path = "../rslib" }
|
||||||
tokio = "0.2.11"
|
|
||||||
|
|
||||||
[dependencies.pyo3]
|
[dependencies.pyo3]
|
||||||
version = "0.8.0"
|
version = "0.11.1"
|
||||||
features = ["extension-module"]
|
features = ["extension-module"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
Loading…
Reference in a new issue