# 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 = "automerge_repo" version = "0.2.0" authors = [ "Alex Good ", "Gregory Terzian", ] build = false exclude = [ "interop-test-server/node_modules", "interop-test-server/server.js", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A rust implementation of automerge-repo" readme = "README.md" license = "MIT" repository = "https://github.com/automerge/automerge-repo-rs" [lib] name = "automerge_repo" path = "src/lib.rs" [[example]] name = "distributed-bakery" path = "examples/distributed_bakery.rs" required-features = ["tokio"] [[example]] name = "tcp-example" path = "examples/tcp-example.rs" required-features = ["tokio"] [[test]] name = "fs_storage" path = "tests/fs_storage/main.rs" [[test]] name = "interop" path = "tests/interop/main.rs" required-features = [ "tokio", "tungstenite", "axum", ] [[test]] name = "network" path = "tests/network/main.rs" required-features = [ "tokio", "tungstenite", ] [dependencies.automerge] version = "0.5.0" [dependencies.axum] version = "0.6.18" features = ["ws"] optional = true [dependencies.bs58] version = "0.5.0" features = ["check"] [dependencies.bytes] version = "1.4.0" [dependencies.crossbeam-channel] version = "0.5.8" [dependencies.futures] version = "0.3.28" [dependencies.hex] version = "0.4.3" [dependencies.minicbor] version = "0.19.0" features = ["alloc"] [dependencies.parking_lot] version = "0.12.1" [dependencies.ring] version = "0.16.20" [dependencies.serde] version = "1.0.160" features = ["derive"] [dependencies.tempfile] version = "3.6.0" [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.27" features = ["rt"] optional = true [dependencies.tokio-util] version = "0.7.8" features = [ "codec", "net", ] optional = true [dependencies.tracing] version = "0.1.37" [dependencies.tungstenite] version = "0.21" optional = true [dependencies.uuid] version = "1.2.2" [dev-dependencies.autosurgeon] version = "0.8.0" [dev-dependencies.axum] version = "0.6.18" features = ["ws"] [dev-dependencies.axum-macros] version = "0.3.7" [dev-dependencies.clap] version = "4.2.5" features = ["derive"] [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.itertools] version = "0.11.0" [dev-dependencies.reqwest] version = "0.11.17" features = [ "json", "blocking", ] default-features = false [dev-dependencies.serde_json] version = "1.0.96" [dev-dependencies.test-log] version = "0.2.12" features = ["trace"] [dev-dependencies.tokio] version = "1.27" features = ["full"] [dev-dependencies.tokio-serde] version = "0.8.0" features = ["json"] [dev-dependencies.tokio-stream] version = "0.1" [dev-dependencies.tokio-tungstenite] version = "0.21" features = ["connect"] [dev-dependencies.tracing-subscriber] version = "0.3.17" features = [ "fmt", "env-filter", ] [features] axum = [ "dep:axum", "dep:tokio", "dep:tokio-util", ] tokio = [ "dep:tokio", "dep:tokio-util", ] tungstenite = ["dep:tungstenite"]