anki/rslib/Cargo.toml

74 lines
2.0 KiB
TOML
Raw Normal View History

2019-12-23 05:42:14 +01:00
[package]
name = "anki"
2020-05-18 04:50:20 +02:00
version = "2.1.28" # automatically updated
2019-12-23 05:42:14 +01:00
edition = "2018"
authors = ["Ankitects Pty Ltd and contributors"]
license = "AGPL-3.0-or-later"
description = "Anki's Rust library code"
readme = "README.md"
[dependencies]
nom = "5.0.1"
2020-03-06 06:08:58 +01:00
failure = "0.1.7"
2020-02-01 10:05:22 +01:00
prost = "0.6.1"
bytes = "0.5.4"
chrono = "0.4.10"
lazy_static = "1.4.0"
regex = "1.3.3"
hex = "0.4.0"
2020-02-27 04:50:48 +01:00
blake3 = "0.2.1"
htmlescape = "0.3.1"
sha1 = "0.6.0"
unicode-normalization = "0.1.12"
tempfile = "3.1.0"
2020-02-01 10:05:22 +01:00
serde = "1.0.104"
serde_json = "1.0.45"
tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] }
2020-02-01 10:05:22 +01:00
serde_derive = "1.0.104"
zip = "0.5.4"
serde_tuple = "0.4.0"
coarsetime = "=0.1.11"
utime = "0.2.1"
serde-aux = "0.6.1"
unic-langid = { version = "0.8.0", features = ["macros"] }
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" }
num-format = "0.4.0"
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_debug"] }
slog-term = "2.5.0"
slog-async = "2.4.0"
slog-envlogger = "2.2.0"
2020-03-17 03:33:29 +01:00
serde_repr = "0.1.5"
num_enum = "0.4.2"
# pinned as any changes could invalidate sqlite indexes
unicase = "=2.6.0"
futures = "0.3.4"
rand = "0.7.3"
num-integer = "0.1.42"
itertools = "0.9.0"
2020-05-26 09:18:50 +02:00
flate2 = "1.0.14"
2020-05-27 11:32:05 +02:00
pin-project = "0.4.17"
async-compression = { version = "0.3.4", features = ["stream", "gzip"] }
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-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"]
[target.'cfg(linux)'.dependencies]
2020-05-27 11:32:05 +02:00
reqwest = { version = "0.10.1", features = ["json", "socks", "stream", "native-tls-vendored"] }
[target.'cfg(not(linux))'.dependencies]
2020-05-27 11:32:05 +02:00
reqwest = { version = "0.10.1", features = ["json", "socks", "stream" ] }
[build-dependencies]
prost-build = "0.6.1"
fluent-syntax = "0.9.2"
2020-05-27 11:32:05 +02:00
[dev-dependencies]
env_logger = "0.7.1"