-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (55 loc) · 1.43 KB
/
Cargo.toml
File metadata and controls
62 lines (55 loc) · 1.43 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
[package]
name = "storage-bindings"
version = "0.2.3"
edition = "2021"
description = "Rust bindings for Storage, the Decentralized Durability Engine"
license = "MIT"
repository = "https://github.com/nipsysdev/storage-rust-bindings"
homepage = "https://logos.co/tech-stack"
keywords = ["storage", "p2p", "distributed"]
categories = ["api-bindings", "network-programming"]
# Prebuilt binary version pinning
# Set this to a specific version from https://github.com/nipsysdev/logos-storage-nim-bin/releases
#
# Version formats:
# - Stable: "v0.3.0"
# - Nightly: "master-60861d6a"
# - Latest: Leave empty or remove to use latest stable release
[package.metadata.prebuilt]
libstorage = "v0.3.0"
[lib]
name = "storage_bindings"
crate-type = ["cdylib", "rlib"]
[dependencies]
libc = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
bytesize = "2.1"
futures = "0.3"
[dependencies.tokio]
version = "1"
features = ["macros", "io-util", "rt", "rt-multi-thread", "time"]
optional = true
[build-dependencies]
bindgen = "0.72"
reqwest = { version = "0.12", features = ["blocking", "json"] }
flate2 = "1.0"
tar = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
hex = "0.4"
cc = "1.2"
dirs = "6.0"
[dev-dependencies]
tempfile = "3.23"
env_logger = "0.10"
tokio = { version = "1", features = [
"macros",
"io-util",
"rt-multi-thread",
"time",
] }
[features]
default = ["tokio"]