@@ -33,12 +33,11 @@ normal = ["attohttpc"] # we ignore attohttpc because we can't remove it based on
3333[dependencies ]
3434serde_json = { version = " 1.0" , features = [ " raw_value" ] }
3535serde = { version = " 1.0" , features = [ " derive" ] }
36- base64 = " 0.13.0"
3736tokio = { version = " 1.6" , features = [ " rt" , " rt-multi-thread" , " sync" ] }
3837futures = " 0.3"
39- uuid = { version = " 0.8.2 " , features = [ " v4" ] }
40- thiserror = " 1.0.24 "
41- once_cell = " 1.7.2 "
38+ uuid = { version = " 0.8" , features = [ " v4" ] }
39+ thiserror = " 1.0"
40+ once_cell = " 1.7"
4241tauri-runtime = { version = " 0.1.1" , path = " ../tauri-runtime" }
4342tauri-macros = { version = " 1.0.0-beta.1" , path = " ../tauri-macros" }
4443tauri-utils = { version = " 1.0.0-beta.0" , path = " ../tauri-utils" }
@@ -47,30 +46,45 @@ rand = "0.8"
4746tempfile = " 3"
4847semver = " 0.11"
4948serde_repr = " 0.1"
50- dirs-next = " 2.0.0"
51- zip = " 0.5.12"
52- ignore = " ^0.4.17"
53- either = " 1.6.1"
49+ zip = " 0.5"
50+ ignore = " 0.4"
51+ either = " 1.6"
5452tar = " 0.4"
5553flate2 = " 1.0"
56- rfd = " 0.3.0"
5754tinyfiledialogs = " 3.3"
5855http = " 0.2"
59- clap = { version = " =3.0.0-beta.2" , optional = true }
60- notify-rust = { version = " 4.5.2" , optional = true }
61- tauri-hotkey = { version = " 0.1.2" , optional = true }
62- open = " 1.7.0"
63- shared_child = " 0.3"
64- os_pipe = " 0.9"
65- minisign-verify = " 0.1.8"
6656state = " 0.4"
6757bincode = " 1.3"
58+ dirs-next = " 2.0"
59+
60+ # FS
61+ base64 = { version = " 0.13" , optional = true } # also used on the updater
62+
63+ # CLI
64+ clap = { version = " =3.0.0-beta.2" , optional = true }
65+
66+ # Notifications
67+ notify-rust = { version = " 4.5" , optional = true }
68+
69+ # Global shortcut
70+ tauri-hotkey = { version = " 0.1.2" , optional = true }
6871
6972# HTTP
7073reqwest = { version = " 0.11" , features = [ " json" , " multipart" ], optional = true }
7174bytes = { version = " 1" , features = [ " serde" ], optional = true }
7275attohttpc = { version = " 0.17" , features = [ " json" , " form" ] }
7376
77+ # Shell
78+ open = { version = " 1.7" , optional = true }
79+ shared_child = { version = " 0.3" , optional = true }
80+ os_pipe = { version = " 0.9" , optional = true }
81+
82+ # Dialogs
83+ rfd = { version = " 0.3" , optional = true }
84+
85+ # Updater
86+ minisign-verify = { version = " 0.1" , optional = true }
87+
7488[build-dependencies ]
7589cfg_aliases = " 0.1.1"
7690
@@ -90,31 +104,31 @@ dox = [ "tauri-runtime-wry/dox" ]
90104wry = [ " tauri-runtime-wry" ]
91105cli = [ " clap" ]
92106custom-protocol = [ " tauri-macros/custom-protocol" ]
93- api-all = [ " notification-all" , " global-shortcut-all" , " updater" ]
94- updater = [ ]
107+ api-all = [ " notification-all" , " global-shortcut-all" , " shell-all " , " dialog-all " , " updater" ]
108+ updater = [ " minisign-verify " , " base64 " ]
95109menu = [ " tauri-runtime/menu" , " tauri-runtime-wry/menu" ]
96- system-tray = [ " tauri-runtime/system-tray" , " tauri-runtime-wry/system-tray" ]
110+ system-tray = [ " tauri-runtime/system-tray" , " tauri-runtime-wry/system-tray" ]
97111reqwest-client = [ " reqwest" , " bytes" ]
98112fs-all = [ ]
99113fs-read-text-file = [ ]
100114fs-read-binary-file = [ ]
101115fs-write-file = [ ]
102- fs-write-binary-file = [ ]
116+ fs-write-binary-file = [ " base64 " ]
103117fs-read-dir = [ ]
104118fs-copy-file = [ ]
105119fs-create-dir = [ ]
106120fs-remove-dir = [ ]
107121fs-remove-file = [ ]
108122fs-rename-file = [ ]
109- fs-path-api = [ ]
123+ fs-path = [ ]
110124window-all = [ ]
111125window-create = [ ]
112- shell-all = [ ]
113- shell-execute = [ ]
114- shell-open = [ ]
115- dialog-all = [ ]
116- dialog-open = [ ]
117- dialog-save = [ ]
126+ shell-all = [ " shell-open " , " shell-execute " ]
127+ shell-execute = [ " shared_child " , " os_pipe " ]
128+ shell-open = [ " open " ]
129+ dialog-all = [ " dialog-open " , " dialog-save " ]
130+ dialog-open = [ " rfd " ]
131+ dialog-save = [ " rfd " ]
118132http-all = [ ]
119133http-request = [ ]
120134notification-all = [ " notify-rust" ]
0 commit comments