2019-12-23 05:42:14 +01:00
|
|
|
[package]
|
2020-01-02 10:43:19 +01:00
|
|
|
name = "anki"
|
2020-11-02 09:17:26 +01:00
|
|
|
version = "0.0.0"
|
2019-12-23 05:42:14 +01:00
|
|
|
edition = "2018"
|
2020-04-03 00:44:59 +02:00
|
|
|
authors = ["Ankitects Pty Ltd and contributors"]
|
2020-01-02 10:43:19 +01:00
|
|
|
license = "AGPL-3.0-or-later"
|
2020-04-02 04:01:48 +02:00
|
|
|
description = "Anki's Rust library code"
|
2020-11-01 05:26:58 +01:00
|
|
|
build = "build/main.rs"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "anki"
|
|
|
|
path = "src/lib.rs"
|
2019-12-24 04:33:44 +01:00
|
|
|
|
2020-11-02 09:17:26 +01:00
|
|
|
# After updating anything below, run ../cargo/update.py
|
|
|
|
|
|
|
|
[build-dependencies]
|
2020-11-03 05:02:05 +01:00
|
|
|
fluent-syntax = "0.10"
|
2020-12-28 01:12:10 +01:00
|
|
|
prost-build = "0.7"
|
2020-11-02 09:17:26 +01:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-11-03 00:04:57 +01:00
|
|
|
env_logger = "0.8.1"
|
2020-11-02 09:17:26 +01:00
|
|
|
|
2019-12-24 04:33:44 +01:00
|
|
|
[dependencies]
|
2020-07-13 05:34:37 +02:00
|
|
|
# pinned as any changes could invalidate sqlite indexes
|
|
|
|
unicase = "=2.6.0"
|
2021-03-07 10:08:03 +01:00
|
|
|
# transitive dependency; 0.1.7 is currently broken on Windows (perhaps
|
|
|
|
# only in Bazel)
|
|
|
|
proc-macro-nested = "=0.1.6"
|
2021-03-10 04:28:32 +01:00
|
|
|
# slog-term 2.7+ depends on term 0.7.0, which is currently broken on Windows,
|
|
|
|
# as cargo-raze doesn't seem to be included the rustversion crate.
|
|
|
|
slog-term = "=2.6.0"
|
2020-07-13 05:34:37 +02:00
|
|
|
|
2020-11-02 09:17:26 +01:00
|
|
|
askama = "0.10.1"
|
|
|
|
async-compression = { version = "0.3.5", features = ["stream", "gzip"] }
|
|
|
|
blake3 = "0.3.5"
|
2020-07-12 03:38:25 +02:00
|
|
|
bytes = "0.5.5"
|
|
|
|
chrono = "0.4.13"
|
2020-11-12 11:00:40 +01:00
|
|
|
coarsetime = "0.1.16"
|
2020-11-02 09:17:26 +01:00
|
|
|
failure = "0.1.8"
|
|
|
|
flate2 = "1.0.16"
|
2020-11-03 05:02:05 +01:00
|
|
|
fluent = "0.13.1"
|
2020-11-02 09:17:26 +01:00
|
|
|
futures = "0.3.5"
|
2020-07-12 03:38:25 +02:00
|
|
|
hex = "0.4.2"
|
2020-01-20 10:12:34 +01:00
|
|
|
htmlescape = "0.3.1"
|
2020-11-03 05:02:05 +01:00
|
|
|
intl-memoizer = "0.5"
|
2020-11-02 09:17:26 +01:00
|
|
|
itertools = "0.9.0"
|
|
|
|
lazy_static = "1.4.0"
|
2020-12-15 08:10:25 +01:00
|
|
|
nom = "6.0.1"
|
2020-11-02 09:17:26 +01:00
|
|
|
num_enum = "0.5.0"
|
|
|
|
num-format = "0.4.0"
|
|
|
|
num-integer = "0.1.43"
|
|
|
|
once_cell = "1.4.1"
|
2020-11-02 09:26:19 +01:00
|
|
|
pin-project = "1"
|
2020-12-28 01:12:10 +01:00
|
|
|
prost = "0.7"
|
2020-11-02 09:17:26 +01:00
|
|
|
rand = "0.7.3"
|
|
|
|
regex = "1.3.9"
|
2020-12-28 01:12:10 +01:00
|
|
|
reqwest = { git = "https://github.com/ankitects/reqwest.git", tag = "anki-2020-11-03", default-features = false, features = [
|
|
|
|
"json",
|
|
|
|
"socks",
|
|
|
|
"stream",
|
|
|
|
"rustls-tls",
|
|
|
|
"native-tls",
|
|
|
|
] }
|
|
|
|
rusqlite = { version = "0.24.1", features = ["trace", "functions", "collation", "bundled"] }
|
2020-11-02 09:17:26 +01:00
|
|
|
scopeguard = "1.1.0"
|
2020-07-12 03:38:25 +02:00
|
|
|
serde = "1.0.114"
|
|
|
|
serde_derive = "1.0.114"
|
2020-11-02 09:17:26 +01:00
|
|
|
serde_json = "1.0.56"
|
|
|
|
serde_repr = "0.1.6"
|
2020-07-12 03:38:25 +02:00
|
|
|
serde_tuple = "0.5.0"
|
2020-02-10 05:19:39 +01:00
|
|
|
serde-aux = "0.6.1"
|
2020-11-02 09:17:26 +01:00
|
|
|
sha1 = "0.6.0"
|
2020-02-29 10:50:15 +01:00
|
|
|
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_debug"] }
|
2020-07-12 03:38:25 +02:00
|
|
|
slog-async = "2.5.0"
|
2020-02-29 10:50:15 +01:00
|
|
|
slog-envlogger = "2.2.0"
|
2020-11-02 09:17:26 +01:00
|
|
|
tempfile = "3.1.0"
|
|
|
|
tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] }
|
2020-11-03 05:02:05 +01:00
|
|
|
unic-langid = { version = "0.9", features = ["macros"] }
|
2020-11-02 09:17:26 +01:00
|
|
|
unicode-normalization = "0.1.13"
|
|
|
|
utime = "0.3.1"
|
|
|
|
zip = { version = "0.5.6", default-features = false, features = ["deflate", "time"] }
|
2021-01-05 10:58:53 +01:00
|
|
|
async-trait = "0.1.42"
|
2021-02-06 04:42:38 +01:00
|
|
|
ammonia = "3.1.0"
|
2021-02-06 06:02:40 +01:00
|
|
|
pulldown-cmark = "0.8.0"
|
2021-03-01 01:34:04 +01:00
|
|
|
fnv = "1.0.7"
|
2021-03-07 10:08:03 +01:00
|
|
|
strum = { version = "0.20.0", features = ["derive"] }
|