Branchwell

Clearwake / app · clearwake.ai / crates / clearwake-app / Cargo.toml

Raw 2.5 KB on 85fd7484362aeeaf8dbc19b2d6ddb6a3999a141b
1[package]
2name = "clearwake"
3description = "Clearwake, a quieter browser."
4version.workspace = true
5edition.workspace = true
6license.workspace = true
7
8[lib]
9crate-type = ["rlib", "cdylib"]
10
11[[bin]]
12name = "clearwake"
13path = "src/main.rs"
14
15[dependencies]
16clearwake-core = { path = "../clearwake-core", features = ["std"] }
17eframe = { version = "0.38", default-features = false, features = ["default_fonts", "glow", "persistence"] }
18egui = "0.38"
19image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "bmp", "ico"] }
20log = "0.4"
21
22[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
23ureq = { version = "3", default-features = false, features = ["rustls", "gzip"] }
24
25[target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "linux"))'.dependencies]
26ureq = { version = "3", default-features = false, features = ["rustls", "gzip", "platform-verifier"] }
27
28[target.'cfg(target_arch = "wasm32")'.dependencies]
29eframe = { version = "0.38", default-features = false, features = ["accesskit"] }
30ehttp = "0.7"
31wasm-bindgen = "0.2"
32wasm-bindgen-futures = "0.4"
33web-sys = { version = "0.3", features = ["Window", "Document", "HtmlCanvasElement", "Location", "History", "Element"] }
34
35[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "android")))'.dependencies]
36eframe = { version = "0.38", default-features = false, features = ["accesskit", "clipboard", "links", "wayland", "x11"] }
37winit = { version = "0.30.13", default-features = false, features = ["rwh_06", "x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"] }
38
39[target.'cfg(target_os = "android")'.dependencies]
40eframe = { version = "0.38", default-features = false, features = ["android-native-activity"] }
41winit = { version = "0.30.13", default-features = false, features = ["rwh_06", "android-native-activity"] }
42
43[package.metadata.android]
44package = "ai.clearwake.browser"
45apk_name = "Clearwake"
46build_targets = ["aarch64-linux-android", "armv7-linux-androideabi", "x86_64-linux-android"]
47resources = "android/res"
48assets = "android/assets"
49
50[package.metadata.android.sdk]
51min_sdk_version = 26
52target_sdk_version = 35
53
54[[package.metadata.android.uses_permission]]
55name = "android.permission.INTERNET"
56
57[package.metadata.android.application]
58label = "Clearwake"
59icon = "@mipmap/ic_launcher"
60theme = "@android:style/Theme.DeviceDefault.NoActionBar"
61
62[package.metadata.android.application.activity]
63config_changes = "orientation|screenSize|screenLayout|keyboardHidden|keyboard|uiMode"
64launch_mode = "singleTop"
65orientation = "unspecified"