Skip to content

Commit b9066f5

Browse files
committed
compile
1 parent c740058 commit b9066f5

10 files changed

Lines changed: 2082 additions & 330 deletions

File tree

3rdparty/omnisette/Cargo.toml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@ authors.workspace = true
66
license.workspace = true
77
repository.workspace = true
88

9+
[features]
10+
remote-anisette = []
11+
async = ["dep:async-trait"]
12+
default = ["remote-anisette", "dep:remove-async-await"]
13+
remote-anisette-v3 = [
14+
"async",
15+
"dep:serde",
16+
"dep:serde_json",
17+
"dep:tokio-tungstenite",
18+
"dep:futures-util",
19+
"dep:chrono",
20+
]
21+
aos-kit = []
22+
923
[dependencies]
1024
sha2.workspace = true
1125
base64.workspace = true
@@ -21,16 +35,20 @@ libc = "0.2"
2135
log.workspace = true
2236
async-trait = { version = "0.1", optional = true }
2337
remove-async-await = { version = "1.0", optional = true }
24-
serde.workspace = true
25-
serde_json.workspace = true
38+
serde = { workspace = true, optional = true }
39+
serde_json = { workspace = true, optional = true }
2640
tokio-tungstenite = { version = "0.27.0", optional = true, features = [
2741
"rustls-tls-webpki-roots",
2842
] }
2943
futures-util = { version = "0.3.28", optional = true }
30-
chrono.workspace = true
44+
chrono = { workspace = true, optional = true }
3145
anyhow = "1.0"
3246

3347
[target.'cfg(target_os = "macos")'.dependencies]
3448
dlopen2 = "0.4"
3549
objc = "0.2"
3650
objc-foundation = "0.1"
51+
52+
[dev-dependencies]
53+
tokio.workspace = true
54+
simplelog = "0.12"

0 commit comments

Comments
 (0)