-
Notifications
You must be signed in to change notification settings - Fork 37
/
Cargo.toml
68 lines (59 loc) · 1.71 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
[package]
name = "firestore-db-and-auth"
version = "0.8.0"
authors = ["David Gräff <david.graeff@web.de>"]
edition = "2021"
license = "MIT"
description = "This crate allows easy access to your Google Firestore DB via service account or OAuth impersonated Google Firebase Auth credentials."
readme = "readme.md"
keywords = ["firestore", "auth"]
categories = ["api-bindings","authentication"]
maintenance = { status = "passively-maintained" }
repository = "https://github.com/davidgraeff/firestore-db-and-auth-rs"
rust-version = "1.64"
[dependencies]
bytes = "1.1"
cache_control = "0.2"
reqwest = { version = "0.11", default-features = false, features = ["json", "blocking", "hyper-rustls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
biscuit = "0.7"
ring = "0.17"
base64 = "0.21"
async-trait = "0.1"
tokio = { version = "1.13", features = ["macros"] }
futures = "0.3"
pin-project = "1.0"
http = "1.0"
[dev-dependencies]
tokio-test = "0.4"
[dependencies.rocket]
version = "0.5.0"
default-features = false
optional = true
# Render the readme file on doc.rs
[package.metadata.docs.rs]
features = [ "external_doc", "rocket_support" ]
[features]
default = ["rustls-tls", "unstable"]
rocket_support = ["rocket"]
rustls-tls = ["reqwest/rustls-tls"]
default-tls = ["reqwest/default-tls"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
unstable = []
external_doc = []
[[example]]
name = "create_read_write_document"
test = true
[[example]]
name = "firebase_user"
test = true
[[example]]
name = "own_auth"
test = true
[[example]]
name = "rocket_http_protected_route"
test = true
required-features = ["rustls-tls","rocket_support"]