[package]
edition = "2021"
name = "storage-bindings"
version = "0.4.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for Storage, the Decentralized Durability Engine"
homepage = "https://logos.co/tech-stack"
readme = "README.md"
keywords = [
"storage",
"p2p",
"distributed",
]
categories = [
"api-bindings",
"network-programming",
]
license = "MIT"
repository = "https://github.com/nipsysdev/storage-rust-bindings"
[package.metadata.prebuilt]
libstorage = "v0.4.4"
[features]
default = ["tokio"]
[lib]
name = "storage_bindings"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[test]]
name = "basic_usage"
path = "tests/basic_usage.rs"
[[test]]
name = "chunk_operations"
path = "tests/chunk_operations.rs"
[[test]]
name = "debug_operations"
path = "tests/debug_operations.rs"
[[test]]
name = "memory_safety"
path = "tests/memory_safety.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "p2p_networking"
path = "tests/p2p_networking.rs"
[[test]]
name = "private_queries"
path = "tests/private_queries.rs"
[[test]]
name = "storage_management"
path = "tests/storage_management.rs"
[[test]]
name = "thread_safe_tests"
path = "tests/thread_safe_tests.rs"
[[test]]
name = "thread_safety"
path = "tests/thread_safety.rs"
[[test]]
name = "two_node_network"
path = "tests/two_node_network.rs"
[dependencies.bytesize]
version = "2.1"
[dependencies.futures]
version = "0.3"
[dependencies.libc]
version = "0.2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"macros",
"io-util",
"rt",
"rt-multi-thread",
"time",
]
optional = true
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.tempfile]
version = "3.23"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"io-util",
"rt-multi-thread",
"time",
]
[build-dependencies.bindgen]
version = "0.72"
[build-dependencies.cc]
version = "1.2"
[build-dependencies.dirs]
version = "6.0"
[build-dependencies.hex]
version = "0.4"
[build-dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
]
[build-dependencies.serde]
version = "1.0"
features = ["derive"]
[build-dependencies.sha2]
version = "0.10"
[build-dependencies.zip]
version = "8.6"
features = ["deflate"]
default-features = false