bump version of dr rs

This commit is contained in:
shenjack 2023-07-21 08:29:17 +08:00
parent b02f0f3852
commit 6865578237
Signed by: shenjack
GPG Key ID: 7B1134A979775551
5 changed files with 20 additions and 7 deletions

View File

@ -3,7 +3,20 @@
- 最新版本号 - 最新版本号
- DR game: 0.3.1.3 - DR game: 0.3.1.3
- DR rs: 0.2.15.2 - DR rs: 0.2.16.0
## 20230721 DR rs 0.2.16.0
### Dependencies
in [#45](https://github.com/shenjackyuanjie/Difficult-Rocket/pull/45)
- `pyo3`
- `0.19.0` -> `0.19.1`
- `xml-rs`
- `0.8.14` -> `0.8.16`
- `serde`
- `1.0.164` -> `1.0.173`
## DR game 0.3.1.2 / 0.3.1.3 ## DR game 0.3.1.2 / 0.3.1.3

View File

@ -12,7 +12,7 @@ package_path = 'Difficult_Rocket_rs'
setup( setup(
name='Difficult_Rocket_rs', name='Difficult_Rocket_rs',
version="0.2.15.1", version="0.2.16.0",
author='shenjackyuanjie', author='shenjackyuanjie',
author_email='3695888@qq.com', author_email='3695888@qq.com',
rust_extensions=[RustExtension(target="Difficult_Rocket_rs.Difficult_Rocket_rs", rust_extensions=[RustExtension(target="Difficult_Rocket_rs.Difficult_Rocket_rs",

View File

@ -24,7 +24,7 @@ enum LoadState {
} }
#[pyfunction] #[pyfunction]
fn get_version_str() -> String { "0.2.15.2".to_string() } fn get_version_str() -> String { "0.2.16.0".to_string() }
#[pyfunction] #[pyfunction]
fn test_call(py_obj: &PyAny) -> PyResult<bool> { fn test_call(py_obj: &PyAny) -> PyResult<bool> {

View File

@ -16,7 +16,7 @@ from Difficult_Rocket.api.mod import ModInfo
from Difficult_Rocket.client import ClientWindow from Difficult_Rocket.client import ClientWindow
from Difficult_Rocket.api.types import Options, Version from Difficult_Rocket.api.types import Options, Version
DR_rust_version = Version("0.2.15.2") # DR_mod 的 Rust 编写部分的兼容版本 DR_rust_version = Version("0.2.16.0") # DR_mod 的 Rust 编写部分的兼容版本
logger = logging.getLogger('client.dr_game') logger = logging.getLogger('client.dr_game')

View File

@ -114,9 +114,9 @@ class SR1ShipRender(BaseScreen):
# Optional data # Optional data
self.gen_draw: Optional[Generator] = None self.gen_draw: Optional[Generator] = None
self.textures: Union[SR1Textures, None] = None self.textures: Union[SR1Textures, None] = None
self.xml_name: Optional[str] = None self.xml_name: Optional[str] = None # 准备移除, 更换为基于 rust 的 xml 解析
self.xml_doc: Optional[ElementTree] = None self.xml_doc: Optional[ElementTree] = None # 准备移除, 更换为基于 rust 的 xml 解析
self.xml_root: Optional[Element] = None self.xml_root: Optional[Element] = None # 准备移除, 更换为基于 rust 的 xml 解析
self.rust_ship: Optional[SR1Ship_rs] = None self.rust_ship: Optional[SR1Ship_rs] = None
# List/Dict data # List/Dict data