braid_rs 0.1.4

Unified Braid Protocol implementation in Rust, including Braid-HTTP, Antimatter CRDT, and BraidFS.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "braid_rs"
version = "0.1.4"
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE*",
    "examples/**/*",
    "tests/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified Braid Protocol implementation in Rust, including Braid-HTTP, Antimatter CRDT, and BraidFS."
readme = "README.md"
keywords = [
    "braid",
    "http",
    "crdt",
    "synchronization",
    "fs",
]
categories = [
    "network-programming",
    "filesystem",
    "database-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/braid-org/braid-rs"

[features]
antimatter = []
blob = []
client = []
default = [
    "server",
    "client",
    "antimatter",
    "blob",
    "fs",
    "smallvec",
    "serde",
    "native",
]
fs = ["dep:dissimilar"]
fuzzing = ["dep:arbitrary"]
gen_test_data = ["lz4"]
lz4 = ["dep:lz4_flex"]
napi = [
    "dep:napi",
    "dep:napi-derive",
]
native = [
    "dep:tokio",
    "tokio?/full",
    "dep:reqwest",
    "dep:rusqlite",
    "dep:notify",
    "dep:clap",
    "dep:dirs",
]
serde = []
server = [
    "dep:axum",
    "dep:tower",
    "dep:tower-http",
    "native",
    "dep:headers",
    "dep:tokio-stream",
    "tokio-stream?/net",
]
smallvec = []
storage = []
wasm = [
    "dep:wasm-bindgen",
    "dep:js-sys",
    "dep:web-sys",
    "dep:gloo-net",
    "dep:gloo-timers",
    "dep:wasm-bindgen-futures",
]

[lib]
name = "braid_rs"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "braidfs"
path = "src/bin/braidfs.rs"
required-features = [
    "fs",
    "client",
]

[[example]]
name = "antimatter_demo"
path = "examples/antimatter_demo.rs"

[[example]]
name = "blob_demo"
path = "examples/blob_demo.rs"

[[example]]
name = "comprehensive"
path = "examples/comprehensive.rs"

[[example]]
name = "merge_types"
path = "examples/merge_types.rs"

[[example]]
name = "simple_get"
path = "examples/simple_get.rs"

[[example]]
name = "versioning"
path = "examples/versioning.rs"

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arbitrary]
version = "1.4"
features = ["derive"]
optional = true

[dependencies.async-channel]
version = "2.3"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8.8"
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bumpalo]
version = "3.16.0"
features = ["collections"]

[dependencies.bytes]
version = "1.5"
features = ["serde"]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.crc]
version = "3.0.0"

[dependencies.dirs]
version = "5.0"
optional = true

[dependencies.dissimilar]
version = "1.0.10"
optional = true

[dependencies.futures]
version = "0.3"

[dependencies.headers]
version = "0.4"
optional = true

[dependencies.http]
version = "1.0"

[dependencies.humansize]
version = "2.0.0"

[dependencies.jumprope]
version = "1.1.2"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.libc]
version = "0.2.139"

[dependencies.lz4_flex]
version = "0.11.3"
optional = true

[dependencies.napi]
version = "2.12"
optional = true

[dependencies.napi-derive]
version = "2.12"
optional = true

[dependencies.nfsserve]
version = "0.10"

[dependencies.notify]
version = "6.1"
optional = true

[dependencies.num_enum]
version = "0.7.2"

[dependencies.once_cell]
version = "1.18"

[dependencies.parking_lot]
version = "0.12"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "hickory-dns",
]
optional = true

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sfv]
version = "0.14.0"

[dependencies.sha2]
version = "0.10.9"

[dependencies.smallvec]
version = "2.0.0-alpha.6"
features = ["serde"]

[dependencies.smartstring]
version = "1.0.1"
features = ["serde"]

[dependencies.str_indices]
version = "0.4.3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
optional = true

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dependencies.tower]
version = "0.5.2"
optional = true

[dependencies.tower-http]
version = "0.6.8"
optional = true

[dependencies.tracing]
version = "0.1"

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

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.19.0"
features = [
    "v4",
    "serde",
    "js",
]

[dev-dependencies.lz4_flex]
version = "0.11.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_02]
version = "0.2"
features = ["js"]
package = "getrandom"

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-net]
version = "0.6"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.3"
features = ["futures"]
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "Window",
    "Performance",
]
optional = true