-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
79 lines (72 loc) · 2.45 KB
/
Copy pathCargo.toml
File metadata and controls
79 lines (72 loc) · 2.45 KB
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
[package]
name = "ook-reader"
version = "0.1.0"
authors = ["Dima Portenko <troublesohard@gmail.com>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { version = "0.7", features = [] }
rbook = "0.7"
percent-encoding = "2.3"
# `fallible_uint` adds the ToSql/FromSql impls for `usize`/`u64`, which rusqlite gates
# because SQLite's only integer is `i64` and both conversions can fail. It buys a checked
# conversion for `Locator::spine_index` instead of an `as usize` cast at the restore site.
rusqlite = { version = "0.40", features = ["bundled", "fallible_uint"] }
directories = "6"
uuid = { version = "1", features = ["v4"] }
thiserror = "2"
dioxus-primitives = { git = "https://github.com/DioxusLabs/components", rev = "bf007c15d0cf4d04d3181cc46cf12325aa773955", version = "0.0.1", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
"json",
] }
keyring-core = "1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
apple-native-keyring-store = { version = "1", features = [
"keychain",
"protected",
] }
# AppKit's own window-frame autosave, reached through the NSWindow behind tao's
# `ns_window()`. `default-features = false` because both crates default to binding
# every class in their framework.
[target.'cfg(target_os = "macos")'.dependencies]
objc2-app-kit = { version = "0.3", default-features = false, features = [
"std",
"NSResponder",
"NSWindow",
] }
objc2-foundation = { version = "0.3", default-features = false, features = [
"std",
"NSString",
] }
[target.'cfg(target_os = "ios")'.dependencies]
objc2 = { version = "0.6", default-features = false, features = ["std"] }
objc2-foundation = { version = "0.3", default-features = false, features = [
"std",
"NSArray",
"NSString",
"NSURL",
] }
objc2-ui-kit = { version = "0.3", default-features = false, features = [
"std",
"block2",
"UIDocumentPickerViewController",
"UIResponder",
"UIViewController",
"objc2-uniform-type-identifiers",
] }
objc2-uniform-type-identifiers = { version = "0.3", default-features = false, features = [
"std",
"UTType",
] }
[dev-dependencies]
tempfile = "3"
pollster = "1"
tokio = { version = "1", features = ["rt", "macros"] }
[features]
default = ["desktop"]
web = ["dioxus/web"]
desktop = ["dioxus/desktop"]
mobile = ["dioxus/mobile"]