Revision control
Copy as Markdown
Other Tools
# 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 = "sync15"
version = "0.1.0"
authors = ["Sync Team <sync-team@mozilla.com>"]
build = "build.rs"
exclude = [
"/android",
"/ios",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
readme = "README.md"
license = "MPL-2.0"
[lib]
name = "sync15"
path = "src/lib.rs"
[dependencies]
anyhow = "1.0"
lazy_static = "1.4"
log = "0.4"
serde_derive = "1"
serde_json = "1"
serde_path_to_error = "0.1"
thiserror = "1.0"
[dependencies.base16]
version = "0.2"
optional = true
[dependencies.base64]
version = "0.21"
optional = true
[dependencies.error-support]
path = "../support/error"
[dependencies.interrupt-support]
path = "../support/interrupt"
[dependencies.payload-support]
path = "../support/payload"
[dependencies.rc_crypto]
path = "../support/rc_crypto"
features = ["hawk"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.sync-guid]
path = "../support/guid"
features = ["random"]
[dependencies.uniffi]
version = "0.28.2"
[dependencies.url]
version = "2.1"
optional = true
[dependencies.viaduct]
path = "../viaduct"
optional = true
[dev-dependencies.env_logger]
version = "0.10"
default-features = false
[build-dependencies.uniffi]
version = "0.28.2"
features = ["build"]
[features]
crypto = [
"rc_crypto",
"base16",
"base64",
]
default = ["sync-engine"]
random-guid = ["sync-guid/random"]
standalone-sync = ["sync-client"]
sync-client = [
"sync-engine",
"crypto",
"viaduct",
"url",
]
sync-engine = ["random-guid"]