build: fix warnings

This commit is contained in:
ardocrat 2024-06-17 14:47:01 +03:00
parent 2196fbefa6
commit 3c5f9b8e3a
2 changed files with 1 additions and 3 deletions

View file

@ -25,7 +25,6 @@ deb_depends = ["libssl-dev", "pkg-config"]
[lib] [lib]
name="grim" name="grim"
crate_type=["cdylib", "rlib"]
[dependencies] [dependencies]
log = "0.4" log = "0.4"

View file

@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
use eframe::icon_data::from_png_bytes;
pub fn main() { pub fn main() {
#[allow(dead_code)] #[allow(dead_code)]
#[cfg(not(target_os = "android"))] #[cfg(not(target_os = "android"))]
@ -35,6 +33,7 @@ fn real_main() {
use std::sync::Arc; use std::sync::Arc;
use egui::pos2; use egui::pos2;
use eframe::icon_data::from_png_bytes;
let platform = Desktop::default(); let platform = Desktop::default();