From 38e0eea8a4dc4869b3bd160b3d8d13e372502993 Mon Sep 17 00:00:00 2001 From: Eason <30045503+Eason0729@users.noreply.github.com> Date: Thu, 25 Apr 2024 17:44:35 +0800 Subject: [PATCH] include python binding --- .gitignore | 2 +- pyr/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d41e835..b8eae9e 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,7 @@ venv/* .vs/* .vscode/* -ml_play*.py +# ml_play*.py ml/* !ml_play_template.py !ml_play_manual.py diff --git a/pyr/Cargo.toml b/pyr/Cargo.toml index 6ac0301..25e8285 100644 --- a/pyr/Cargo.toml +++ b/pyr/Cargo.toml @@ -9,8 +9,8 @@ crate-type = ["cdylib"] [profile.release] strip = true -opt-level = 2 -# lto = true +opt-level = "s" +lto = true [dependencies] smol = "2.0.0"