1use gpui::action;
2
3// If the zed binary doesn't use anything in this crate, it will be optimized away
4// and the actions won't initialize. So we just provide an empty initialization function
5// to be called from main.
6//
7// These may provide relevant context:
8// https://github.com/rust-lang/rust/issues/47384
9// https://github.com/mmastrac/rust-ctor/issues/280
10pub fn init() {}
11
12#[action]
13pub struct OpenBrowser {
14 pub url: String,
15}
16
17#[action]
18pub struct OpenZedURL {
19 pub url: String,
20}