2019-12-23 05:42:14 +01:00
|
|
|
[package]
|
2020-01-02 10:43:19 +01:00
|
|
|
name = "anki"
|
2020-08-26 00:05:45 +02:00
|
|
|
version = "2.1.33" # automatically updated
|
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"
|
|
|
|
readme = "README.md"
|
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"
|
|
|
|
|
2020-07-12 03:38:25 +02:00
|
|
|
nom = "5.1.2"
|
|
|
|
failure = "0.1.8"
|
2020-02-01 10:05:22 +01:00
|
|
|
prost = "0.6.1"
|
2020-07-12 03:38:25 +02:00
|
|
|
bytes = "0.5.5"
|
|
|
|
chrono = "0.4.13"
|
2020-01-10 05:59:29 +01:00
|
|
|
lazy_static = "1.4.0"
|
2020-07-12 03:38:25 +02:00
|
|
|
regex = "1.3.9"
|
|
|
|
hex = "0.4.2"
|
|
|
|
blake3 = "0.3.5"
|
2020-01-20 10:12:34 +01:00
|
|
|
htmlescape = "0.3.1"
|
2020-01-28 11:52:10 +01:00
|
|
|
sha1 = "0.6.0"
|
2020-07-12 03:38:25 +02:00
|
|
|
unicode-normalization = "0.1.13"
|
2020-01-28 11:52:10 +01:00
|
|
|
tempfile = "3.1.0"
|
2020-07-12 03:38:25 +02:00
|
|
|
serde = "1.0.114"
|
|
|
|
serde_json = "1.0.56"
|
2020-06-02 01:35:27 +02:00
|
|
|
tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] }
|
2020-07-12 03:38:25 +02:00
|
|
|
serde_derive = "1.0.114"
|
|
|
|
zip = "0.5.6"
|
|
|
|
serde_tuple = "0.5.0"
|
2020-07-13 05:34:37 +02:00
|
|
|
coarsetime = { git = "https://github.com/ankitects/rust-coarsetime.git", branch="old-mac-compat" }
|
2020-07-12 03:38:25 +02:00
|
|
|
utime = "0.3.1"
|
2020-02-10 05:19:39 +01:00
|
|
|
serde-aux = "0.6.1"
|
2020-02-20 01:42:16 +01:00
|
|
|
unic-langid = { version = "0.8.0", features = ["macros"] }
|
2020-02-25 03:57:35 +01:00
|
|
|
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" }
|
2020-02-20 01:42:16 +01:00
|
|
|
num-format = "0.4.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-term = "2.6.0"
|
|
|
|
slog-async = "2.5.0"
|
2020-02-29 10:50:15 +01:00
|
|
|
slog-envlogger = "2.2.0"
|
2020-07-12 03:38:25 +02:00
|
|
|
serde_repr = "0.1.6"
|
|
|
|
num_enum = "0.5.0"
|
|
|
|
futures = "0.3.5"
|
2020-04-16 09:02:59 +02:00
|
|
|
rand = "0.7.3"
|
2020-07-12 03:38:25 +02:00
|
|
|
num-integer = "0.1.43"
|
2020-04-20 13:32:55 +02:00
|
|
|
itertools = "0.9.0"
|
2020-07-12 03:38:25 +02:00
|
|
|
flate2 = "1.0.16"
|
|
|
|
pin-project = "0.4.22"
|
|
|
|
async-compression = { version = "0.3.5", features = ["stream", "gzip"] }
|
|
|
|
askama = "0.10.1"
|
2020-07-16 01:09:13 +02:00
|
|
|
hyper = "0.13.7"
|
2019-12-24 04:33:44 +01:00
|
|
|
|
2020-03-24 05:53:33 +01:00
|
|
|
[target.'cfg(target_vendor="apple")'.dependencies.rusqlite]
|
2020-05-16 11:49:08 +02:00
|
|
|
version = "0.23.1"
|
2020-03-24 05:53:33 +01:00
|
|
|
features = ["trace", "functions", "collation"]
|
2020-02-05 06:01:40 +01:00
|
|
|
|
2020-03-24 05:53:33 +01:00
|
|
|
[target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite]
|
2020-05-16 11:49:08 +02:00
|
|
|
version = "0.23.1"
|
2020-03-24 05:53:33 +01:00
|
|
|
features = ["trace", "functions", "collation", "bundled"]
|
2020-02-05 06:01:40 +01:00
|
|
|
|
2020-08-26 05:24:51 +02:00
|
|
|
[target.'cfg(linux)'.dependencies.reqwest]
|
|
|
|
git = "https://github.com/ankitects/reqwest.git"
|
2020-08-26 10:49:23 +02:00
|
|
|
rev = "57665e2c2a39db85723ba860f1b570a608bb73f9"
|
2020-08-26 05:24:51 +02:00
|
|
|
features = ["json", "socks", "stream", "native-tls-vendored"]
|
2020-02-05 06:01:40 +01:00
|
|
|
|
2020-08-26 05:24:51 +02:00
|
|
|
[target.'cfg(not(linux))'.dependencies.reqwest]
|
|
|
|
git = "https://github.com/ankitects/reqwest.git"
|
2020-08-26 10:49:23 +02:00
|
|
|
rev = "57665e2c2a39db85723ba860f1b570a608bb73f9"
|
2020-08-26 05:24:51 +02:00
|
|
|
features = ["json", "socks", "stream"]
|
2020-02-05 06:01:40 +01:00
|
|
|
|
2019-12-24 04:33:44 +01:00
|
|
|
[build-dependencies]
|
2020-02-27 04:48:16 +01:00
|
|
|
prost-build = "0.6.1"
|
2020-07-12 03:38:25 +02:00
|
|
|
fluent-syntax = "0.9.3"
|
2020-01-02 10:43:19 +01:00
|
|
|
|
2020-05-27 11:32:05 +02:00
|
|
|
[dev-dependencies]
|
|
|
|
env_logger = "0.7.1"
|