anki/rslib/Cargo.toml

99 lines
2.8 KiB
TOML
Raw Normal View History

2019-12-23 05:42:14 +01:00
[package]
name = "anki"
version = "0.0.0"
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"
build = "build/main.rs"
[lib]
name = "anki"
path = "src/lib.rs"
# After updating anything below, run ../cargo/update.py
[build-dependencies]
2021-06-25 07:35:25 +02:00
prost-build = "0.7.0"
[dev-dependencies]
2021-06-25 07:35:25 +02:00
env_logger = "0.8.4"
linkcheck = { git = "https://github.com/ankitects/linkcheck.git", rev = "2f20798ce521cc594d510d4e417e76d5eac04d4b" }
tokio = { version = "*", features = ["macros"] }
[dependencies]
# pinned as any changes could invalidate sqlite indexes
unicase = "=2.6.0"
2021-04-27 15:11:22 +02:00
2021-06-25 07:35:25 +02:00
# temporarily pinned due to memchr conflict; functionally equiv. to 6.x
nom = "=7.0.0-alpha1"
2021-04-27 15:11:22 +02:00
# transitive dependency; 0.1.7 is broken on Windows
# https://github.com/bazelbuild/rules_rust/issues/710
2021-03-07 10:08:03 +01:00
proc-macro-nested = "=0.1.6"
2021-04-27 15:11:22 +02:00
# slog-term 2.7+ depends on term 0.7.0, which is currently broken on Windows
# https://github.com/google/cargo-raze/issues/416
slog-term = "=2.6.0"
2021-06-25 07:35:25 +02:00
anki_i18n = { path="i18n" }
2021-06-25 07:35:25 +02:00
askama = "0.10.5"
blake3 = "0.3.8"
bytes = "1.0.1"
chrono = "0.4.19"
coarsetime = "0.1.19"
flate2 = "1.0.20"
fluent = "0.15.0"
fluent-bundle = "0.15.1"
futures = "0.3.15"
hex = "0.4.3"
htmlescape = "0.3.1"
2021-06-25 07:35:25 +02:00
intl-memoizer = "0.5.1"
itertools = "0.10.1"
lazy_static = "1.4.0"
2021-06-25 07:35:25 +02:00
num_enum = "0.5.1"
num-integer = "0.1.44"
once_cell = "1.8.0"
pin-project = "1.0.7"
prost = "0.7.0"
rand = "0.8.4"
regex = "1.5.4"
reqwest = { git="https://github.com/ankitects/reqwest.git", rev="7591444614de02b658ddab125efba7b2bb4e2335", default-features=false, features=[
"json",
"socks",
"stream",
"multipart",
# the Bazel build scripts separate these out by platform
"native-tls",
"rustls-tls",
"rustls-tls-webpki-roots",
2021-06-18 10:15:41 +02:00
"rustls-tls-native-roots",
] }
2021-06-25 08:22:21 +02:00
rusqlite = { version = "0.25.3", features = ["trace", "functions", "collation", "bundled"] }
scopeguard = "1.1.0"
2021-06-25 07:35:25 +02:00
serde = "1.0.126"
serde_derive = "1.0.126"
serde_json = "1.0.64"
serde_repr = "0.1.7"
2020-07-12 03:38:25 +02:00
serde_tuple = "0.5.0"
2021-06-25 07:35:25 +02:00
serde-aux = "2.2.0"
sha1 = "0.6.0"
2021-06-25 08:22:21 +02:00
slog = { version = "2.7.0", features = ["max_level_trace", "release_max_level_debug"] }
2021-06-25 07:35:25 +02:00
slog-async = "2.6.0"
slog-envlogger = "2.2.0"
2021-06-25 07:35:25 +02:00
tempfile = "3.2.0"
2021-06-25 08:22:21 +02:00
tokio = { version = "1.7.1", features = ["fs", "rt-multi-thread"] }
unic-langid = { version = "0.9.0", features = ["macros"] }
2021-06-25 07:35:25 +02:00
unicode-normalization = "0.1.19"
utime = "0.3.1"
2021-06-25 08:22:21 +02:00
zip = { version = "0.5.13", default-features = false, features = ["deflate", "time"] }
2021-06-25 07:35:25 +02:00
async-trait = "0.1.50"
ammonia = "3.1.1"
pulldown-cmark = "0.8.0"
fnv = "1.0.7"
2021-06-25 08:22:21 +02:00
strum = { version = "0.21.0", features = ["derive"] }
tokio-util = { version = "0.6.7", features = ["io"] }
pct-str = { git="https://github.com/timothee-haudebourg/pct-str.git", rev="4adccd8d4a222ab2672350a102f06ae832a0572d" }
unic-ucd-category = "0.9.0"