feat: add a toolkit crate for both client and pop-launcher-bin

This commit is contained in:
Paul Delafosse 2022-05-11 14:09:27 +02:00 committed by Michael Murphy
parent a5c2569654
commit 47852e53cb
12 changed files with 56 additions and 24 deletions

12
toolkit/Cargo.toml Normal file
View file

@ -0,0 +1,12 @@
[package]
name = "pop-launcher-toolkit"
version = "0.1.0"
edition = "2021"
description = "A wrapper around pop-launcher, pop-launcher-service and pop-launcher-plugins types for writing plugins and frontends for pop-launcher."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
pop-launcher-plugins = { path = "../plugins"}
pop-launcher-service = { path = "../service"}
pop-launcher = { path = "../" }

10
toolkit/src/lib.rs Normal file
View file

@ -0,0 +1,10 @@
// Copyright 2021 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0
pub use pop_launcher_service::{
self as service,
load::from_path as load_plugin_from_path,
load::from_paths as load_plugins_from_paths
};
pub use pop_launcher_plugins as plugins;
pub use pop_launcher as launcher;