samod 0.6.0

A rust library for managing automerge documents, compatible with the js automerge-repo library
[dependencies.async-channel]
version = "2.5.0"

[dependencies.automerge]
version = "0.7.1"

[dependencies.axum]
features = ["ws"]
optional = true
version = "0.8.4"

[dependencies.bytes]
version = "1.10.1"

[dependencies.chrono]
version = "0.4.41"

[dependencies.futures]
version = "0.3.31"

[dependencies.gio]
optional = true
version = "0.20.12"

[dependencies.glib]
optional = true
version = "0.20.12"

[dependencies.rand]
version = "0.9.1"

[dependencies.rayon]
optional = true
version = "1.10.0"

[dependencies.samod-core]
version = "0.6.0"

[dependencies.tokio]
features = ["rt", "time", "fs"]
optional = true
version = "1.46.0"

[dependencies.tokio-tungstenite]
optional = true
version = "0.27.0"

[dependencies.tokio-util]
features = ["codec", "net"]
optional = true
version = "0.7.15"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tungstenite]
optional = true
version = "0.27.0"

[dev-dependencies.eyre]
version = "0.6.12"

[dev-dependencies.reqwest]
default-features = false
features = ["json", "blocking"]
version = "0.12.22"

[dev-dependencies.tempfile]
version = "3.20.0"

[dev-dependencies.tokio]
features = ["rt", "time", "macros", "process", "fs"]
version = "1.46.0"

[dev-dependencies.tokio-stream]
features = ["io-util"]
version = "0.1.17"

[dev-dependencies.tokio-test]
version = "0.4.4"

[dev-dependencies.tokio-util]
features = ["codec", "net"]
version = "0.7.15"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.19"

[features]
axum = ["dep:axum", "dep:tokio", "dep:tokio-util"]
gio = ["dep:gio", "dep:glib"]
threadpool = ["dep:rayon"]
tokio = ["dep:tokio", "dep:tokio-util"]
tungstenite = ["dep:tungstenite", "dep:tokio-tungstenite", "tokio"]

[lib]
name = "samod"
path = "src/lib.rs"

[package]
authors = ["Alex Good <alex@patternist.xyz>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A rust library for managing automerge documents, compatible with the js automerge-repo library"
edition = "2024"
license = "MIT"
name = "samod"
readme = false
repository = "https://github.com/alexjg/samod"
version = "0.6.0"

[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "gio_storage_test"
path = "tests/gio_storage_test.rs"

[[test]]
name = "js_interop"
path = "tests/js_interop/main.rs"
required-features = ["tokio", "tungstenite", "axum"]

[[test]]
name = "localpool_smoke"
path = "tests/localpool_smoke.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[[test]]
name = "tincans"
path = "tests/tincans.rs"

[[test]]
name = "tokio_storage_test"
path = "tests/tokio_storage_test.rs"