-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathCargo.toml
More file actions
89 lines (80 loc) · 2.92 KB
/
Cargo.toml
File metadata and controls
89 lines (80 loc) · 2.92 KB
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
88
89
[package]
name = "celestia-client"
version.workspace = true
edition.workspace = true
license = "Apache-2.0"
description = "Celestia client combining RPC and gRPC functionality."
authors = ["Celestia <contact@celestia.org>"]
homepage = "https://www.celestia.org"
repository = "https://github.com/celestiaorg/lumina"
readme = "README.md"
rust-version = "1.88"
# crates.io is limited to 5 keywords and 5 categories
keywords = ["blockchain", "celestia", "lumina"]
# Must be one of <https://crates.io/category_slugs>
categories = [
"api-bindings",
"asynchronous",
"encoding",
"cryptography::cryptocurrencies",
]
[dependencies]
celestia-fibre.workspace = true
celestia-grpc.workspace = true
celestia-proto.workspace = true
celestia-rpc = { workspace = true, default-features = false }
celestia-types.workspace = true
tonic.workspace = true
blockstore.workspace = true
async-stream.workspace = true
bytes.workspace = true
futures-util.workspace = true
hex.workspace = true
http.workspace = true
http-body.workspace = true
jsonrpsee-core.workspace = true
jsonrpsee-types.workspace = true
k256.workspace = true
serde_json.workspace = true
tendermint.workspace = true
thiserror.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tonic = { workspace = true, features = ["transport"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
celestia-grpc = { workspace = true, features = ["wasm-bindgen"] }
celestia-rpc = { workspace = true, features = ["wasm-bindgen"] }
celestia-types = { workspace = true, features = ["wasm-bindgen"] }
getrandom_02.workspace = true
tonic-web-wasm-client.workspace = true
[dev-dependencies]
jsonrpsee.workspace = true
lumina-utils = { workspace = true, features = ["test-utils"] }
rand.workspace = true
serde.workspace = true
tokio = { workspace = true, features = ["sync"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test.workspace = true
[features]
default = ['tls-native-roots']
# Add system trust roots to `rustls` in `tonic`.
#
# Selecting this feature enables TLS support in grpc client.
tls-native-roots = ["celestia-grpc/tls-native-roots"]
# Add the standard trust roots from webpki to `rustls` in `tonic`
#
# Selecting this feature enables TLS support in grpc client.
tls-webpki-roots = ["celestia-grpc/tls-webpki-roots"]
# Select the `ring` crypto provider for `rustls` in `tonic`
#
# Selecting this feature doesn't enable tls support in the client, it only guides
# `tonic` which provider to use if tls is enabled.
tls-ring = ["celestia-grpc/tls-ring"]
# Select the `aws-lc` crypto provider for `rustls` in `tonic`
#
# Selecting this feature doesn't enable tls support in the client, it only guides
# `tonic` which provider to use if tls is enabled.
tls-aws-lc = ["celestia-grpc/tls-aws-lc"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]