forked from abdolence/firestore-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
87 lines (78 loc) · 2.35 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "firestore"
version = "0.44.0"
authors = ["Abdulla Abdurakhmanov <me@abdolence.dev>"]
edition = "2021"
rust-version = "1.64"
license = "Apache-2.0"
description = "Library provides a simple API for Google Firestore and own Serde serializer based on efficient gRPC API"
homepage = "https://github.com/abdolence/firestore-rs"
repository = "https://github.com/abdolence/firestore-rs"
documentation = "https://docs.rs/firestore"
keywords = ["firestore", "google", "client"]
categories = ["api-bindings"]
readme = "README.md"
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
[badges]
maintenance = { status = "actively-developed" }
[lib]
name = "firestore"
path = "src/lib.rs"
[features]
default = ["tls-roots"]
caching = []
caching-memory = ["caching", "dep:moka"]
caching-persistent = ["caching", "dep:redb"]
tls-roots = ["gcloud-sdk/tls-roots"]
tls-webpki-roots = ["gcloud-sdk/tls-webpki-roots"]
[dependencies]
tracing = "0.1"
gcloud-sdk = { version = "0.26", default-features = false, features = [
"google-firestore-v1",
] }
hyper = { version = "1" }
struct-path = "0.2"
rvstruct = "0.3.2"
rsb_derive = "0.5"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1" }
tokio-stream = "0.1"
futures = "0.3"
chrono = { version = "0.4", features = [
"serde",
"clock",
], default-features = false }
async-trait = "0.1"
hex = "0.4"
backoff = { version = "0.4", features = ["tokio"] }
redb = { version = "2.1", optional = true }
moka = { version = "0.12", features = [
"future",
], optional = true } # Caching library
rand = "0.8"
[dev-dependencies]
cargo-husky = { version = "1.5", default-features = false, features = [
"run-for-all",
"prepush-hook",
"run-cargo-fmt",
] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tokio = { version = "1", features = ["full"] }
tempfile = "3"
approx = "0.5"
[[example]]
name = "caching_memory_collections"
path = "examples/caching_memory_collections.rs"
required-features = ["caching-memory"]
[[example]]
name = "caching_persistent_collections"
path = "examples/caching_persistent_collections.rs"
required-features = ["caching-persistent"]
[[test]]
name = "caching_memory_test"
path = "tests/caching_memory_test.rs"
required-features = ["caching-memory"]
[[test]]
name = "caching_persistent_test"
path = "tests/caching_persistent_test.rs"
required-features = ["caching-persistent"]