[package]
edition = "2021"
name = "atomic_lib"
version = "0.41.0-beta.3"
authors = ["Joep Meindertsma <joep@argu.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for creating, storing, querying, validating and converting Atomic Data."
readme = "README.md"
license = "MIT"
repository = "https://github.com/atomicdata-dev/atomic-server"
[features]
anyhow = ["dep:anyhow"]
config = [
"directories",
"toml",
]
db = ["rmp-serde"]
db-redb = [
"db",
"redb",
"chacha20poly1305",
]
db-sled = [
"db",
"sled",
"bincode1",
]
directories = ["dep:directories"]
discovery = ["dep:pkarr"]
getrandom = ["dep:getrandom"]
iroh = [
"dep:iroh",
"anyhow",
"dep:hostname",
]
js-sys = ["dep:js-sys"]
opentelemetry = ["dep:opentelemetry"]
rdf = [
"rio_api",
"rio_turtle",
]
redb = ["dep:redb"]
ring = ["dep:ring"]
rio_api = ["dep:rio_api"]
rio_turtle = ["dep:rio_turtle"]
rmp-serde = ["dep:rmp-serde"]
telemetry = ["opentelemetry"]
tokio-tungstenite = ["dep:tokio-tungstenite"]
toml = ["dep:toml"]
wasm = [
"getrandom/wasm_js",
"getrandom",
"js-sys",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
wasm-bindgen = ["dep:wasm-bindgen"]
wasm-bindgen-futures = ["dep:wasm-bindgen-futures"]
web-sys = ["dep:web-sys"]
ws = [
"tokio-tungstenite",
"db",
]
[lib]
name = "atomic_lib"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "derive_pubkey"
path = "examples/derive_pubkey.rs"
[[example]]
name = "list_sled_trees"
path = "examples/list_sled_trees.rs"
[[example]]
name = "try_query"
path = "examples/try_query.rs"
[[example]]
name = "verify_blobs"
path = "examples/verify_blobs.rs"
[[test]]
name = "concurrent_commit_and_peer_apply"
path = "tests/concurrent_commit_and_peer_apply.rs"
[[test]]
name = "cross_process_sync"
path = "tests/cross_process_sync.rs"
[[test]]
name = "drive_rights"
path = "tests/drive_rights.rs"
[[test]]
name = "identity_durability"
path = "tests/identity_durability.rs"
[[test]]
name = "query_aggregates"
path = "tests/query_aggregates.rs"
[[test]]
name = "query_expression_filters"
path = "tests/query_expression_filters.rs"
[[test]]
name = "query_index_eviction"
path = "tests/query_index_eviction.rs"
[[test]]
name = "sort_order_fallback"
path = "tests/sort_order_fallback.rs"
[[test]]
name = "watched_filter_scaling"
path = "tests/watched_filter_scaling.rs"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
required-features = ["db-redb"]
[[bench]]
name = "lifecycle_bench"
path = "benches/lifecycle_bench.rs"
harness = false
required-features = ["db-redb"]
[[bench]]
name = "loro_bench"
path = "benches/loro_bench.rs"
harness = false
[[bench]]
name = "populate_bench"
path = "benches/populate_bench.rs"
harness = false
required-features = ["db-redb"]
[[bench]]
name = "query_subscription_bench"
path = "benches/query_subscription_bench.rs"
harness = false
required-features = ["db-redb"]
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.argon2]
version = "0.5"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.base64]
version = "0.22"
[dependencies.bincode1]
version = "1"
optional = true
package = "bincode"
[dependencies.blake3]
version = "1.8.5"
[dependencies.chacha20poly1305]
version = "0.10"
features = ["alloc"]
optional = true
default-features = false
[dependencies.directories]
version = "6"
optional = true
[dependencies.ed25519-dalek]
version = "2"
features = ["rand_core"]
[dependencies.futures]
version = "0.3"
[dependencies.getrandom]
version = "0.4.2"
features = ["wasm_js"]
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.hostname]
version = "0.4"
optional = true
[dependencies.iroh]
version = "0.35"
features = ["discovery-local-network"]
optional = true
[dependencies.js-sys]
version = "0.3.99"
optional = true
[dependencies.loro]
version = "1.12.0"
[dependencies.opentelemetry]
version = "0.32"
optional = true
[dependencies.pkarr]
version = "3.10"
features = [
"relays",
"keys",
"signed_packet",
]
optional = true
default-features = false
[dependencies.rand]
version = "0.8"
[dependencies.redb]
version = "4.1.0"
optional = true
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13.3"
features = [
"rustls",
"json",
]
default-features = false
[dependencies.ring]
version = "0.17"
optional = true
[dependencies.rio_api]
version = "0.8.6"
optional = true
[dependencies.rio_turtle]
version = "0.8.6"
optional = true
[dependencies.rmp-serde]
version = "1.3.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_jcs]
version = "0.2"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sled]
version = "0.34"
features = ["no_logs"]
optional = true
[dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"macros",
"sync",
]
[dependencies.tokio-tungstenite]
version = "0.29.0"
features = ["rustls-tls-native-roots"]
optional = true
[dependencies.toml]
version = "1.1.2"
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.ulid]
version = "1.2.1"
[dependencies.url]
version = "2"
[dependencies.urlencoding]
version = "2"
[dependencies.wasm-bindgen]
version = "0.2.122"
optional = true
[dependencies.wasm-bindgen-futures]
version = "0.4.72"
optional = true
[dependencies.web-sys]
version = "0.3.99"
features = [
"DomException",
"FileSystemDirectoryHandle",
"FileSystemFileHandle",
"FileSystemGetFileOptions",
"FileSystemSyncAccessHandle",
"FileSystemReadWriteOptions",
"StorageManager",
"WorkerGlobalScope",
"WorkerNavigator",
]
optional = true
[dev-dependencies.criterion]
version = "0.8.2"
features = ["async_tokio"]
[dev-dependencies.iai]
version = "0.1"
[dev-dependencies.lazy_static]
version = "1"
[dev-dependencies.ntest]
version = "0.9.5"
[dev-dependencies.tokio]
version = "1.52.3"
features = [
"rt",
"macros",
]
[dev-dependencies.tracing-chrome]
version = "0.7.2"
[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["registry"]