-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make desktop notifications feature (dbus) optional
This makes dbus dependency opt-in by making desktop notifications an optional feature. We also make native-tls optional and rustls the default. The idea is that `cargo build` will be easier to build because it doesn't need any system dependencies, and features that need system dependencies will be hidden behind feature flags. After this patch: (all commands in 'tiny' directory) - dbus + rustls: cargo build --features="desktop-notifications" - dbus + native-tls cargo build --features="desktop-notifications tls-native" \ --no-default-features Removing "desktop-notifications" will make a build without dbus dependency. It's now possible to make a statically-linked executable with $ cargo build --target=x86_64-unknown-linux-musl (#65)
- Loading branch information
Showing
7 changed files
with
105 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters