[package]
edition = "2021"
name = "sova-storage"
version = "0.1.4"
authors = ["Pavel Kuzmin <Virus191288@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Object storage for Sova (local / memory / S3 / GCS / Azure)"
homepage = "https://s00d.github.io/sova/"
documentation = "https://docs.rs/sova-storage"
readme = "README.md"
keywords = [
"http",
"web",
"framework",
"async",
]
categories = [
"web-programming::http-server",
"network-programming",
]
license = "MIT"
repository = "https://github.com/s00d/sova"
[features]
azure = [
"dep:opendal",
"opendal/services-azblob",
]
default = [
"local",
"memory",
]
gcs = [
"dep:opendal",
"opendal/services-gcs",
]
local = []
memory = []
s3 = [
"dep:opendal",
"opendal/services-s3",
]
[lib]
name = "sova_storage"
path = "src/lib.rs"
[[test]]
name = "config_toml"
path = "tests/config_toml.rs"
[[test]]
name = "minio_smoke"
path = "tests/minio_smoke.rs"
[[test]]
name = "plugin"
path = "tests/plugin.rs"
[dependencies.bytes]
version = "1"
[dependencies.opendal]
version = "0.58"
optional = true
default-features = true
[dependencies.rand]
version = "0.8"
[dependencies.sova-core]
version = "0.1.13"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"sync",
"rt",
"macros",
]
[dependencies.toml]
version = "0.8"
features = ["parse"]
default-features = false
[dev-dependencies.sova-core]
version = "0.1.13"
features = ["testing"]
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
]