summaryrefslogtreecommitdiffstats
path: root/third_party/rust/sync15/Cargo.toml
blob: 943bee58ae9d1288ef7ff75ecad7ee93a31095fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# 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>"]
exclude = [
    "/android",
    "/ios",
]
readme = "README.md"
license = "MPL-2.0"

[dependencies]
anyhow = "1.0"
ffi-support = "0.4"
lazy_static = "1.4"
log = "0.4"
serde_derive = "1"
serde_json = "1"
serde_path_to_error = "0.1"
thiserror = "1.0"
uniffi = "0.27.1"

[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.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.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.27.1"
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"]