Debian Codegraph @

third_party/rust/sync15/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 name = "sync15"
15 version = "0.1.0"
16 authors = ["Sync Team <[email protected]>"]
17 build = "build.rs"
18 exclude = [
19 "/android",
20 "/ios",
21 ]
22 autolib = false
23 autobins = false
24 autoexamples = false
25 autotests = false
26 autobenches = false
27 readme = "README.md"
28 license = "MPL-2.0"
29
30 [features]
31 crypto = [
32 "rc_crypto",
33 "base16",
34 "base64",
35 ]
36 default = ["sync-engine"]
37 random-guid = ["sync-guid/random"]
38 standalone-sync = ["sync-client"]
39 sync-client = [
40 "sync-engine",
41 "crypto",
42 "viaduct",
43 "url",
44 ]
45 sync-engine = ["random-guid"]
46
47 [lib]
48 name = "sync15"
49 path = "src/lib.rs"
50
51 [dependencies]
52 anyhow = "1.0"
53 lazy_static = "1.4"
54 serde_derive = "1"
55 serde_json = "1"
56 serde_path_to_error = "0.1"
57 thiserror = "1.0"
58
59 [dependencies.base16]
60 version = "0.2"
61 optional = true
62
63 [dependencies.base64]
64 version = "0.21"
65 optional = true
66
67 [dependencies.error-support]
68 path = "../support/error"
69
70 [dependencies.interrupt-support]
71 path = "../support/interrupt"
72
73 [dependencies.payload-support]
74 path = "../support/payload"
75
76 [dependencies.rc_crypto]
77 path = "../support/rc_crypto"
78 features = ["hawk"]
79 optional = true
80
81 [dependencies.serde]
82 version = "1"
83 features = ["derive"]
84
85 [dependencies.sync-guid]
86 path = "../support/guid"
87 features = ["random"]
88
89 [dependencies.uniffi]
90 version = "0.29.0"
91
92 [dependencies.url]
93 version = "2"
94 optional = true
95
96 [dependencies.viaduct]
97 path = "../viaduct"
98 optional = true
99
100 [dev-dependencies.error-support]
101 path = "../support/error"
102 features = ["testing"]
103
104 [dev-dependencies.nss]
105 path = "../support/rc_crypto/nss"
106
107 [build-dependencies.uniffi]
108 version = "0.29.0"
109 features = ["build"]