DR_rs update bump version later
This commit is contained in:
parent
61059f7ab4
commit
165520d522
@ -68,7 +68,7 @@ class _DR_option(Options):
|
||||
# tests
|
||||
playing: bool = False
|
||||
debugging: bool = False
|
||||
crash_report_test: bool = True
|
||||
crash_report_test: bool = False
|
||||
pyglet_macosx_dev_test: bool = True
|
||||
|
||||
# window option
|
||||
|
@ -14,8 +14,8 @@ crate-type = ["cdylib"]
|
||||
[profile.dev.package.rapier2d-f64]
|
||||
opt-level = 3
|
||||
|
||||
#[profile.release]
|
||||
#codegen-units = 1
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
||||
#[dependencies.quick-xml]
|
||||
#version = "0.27.1"
|
||||
@ -31,9 +31,6 @@ version = "0.8.4"
|
||||
[dependencies.serde-xml-rs]
|
||||
version = "0.6.0"
|
||||
|
||||
#[dependencies.serde-query]
|
||||
#version = "0.1.4"
|
||||
|
||||
[dependencies.rapier2d-f64]
|
||||
version = "0.17.1"
|
||||
features = ["simd-stable"]
|
||||
|
@ -40,15 +40,25 @@ pub mod part_list {
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Copy, Clone)]
|
||||
pub enum Category {
|
||||
Satellite
|
||||
Satellite,
|
||||
None
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Vertex {
|
||||
// pub vec:
|
||||
// #[serde(rename = "$value")]
|
||||
// pub vecs: Option<Vec<Vertexs>>
|
||||
pub x: f64,
|
||||
pub y: f64
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Shape {
|
||||
#[serde(rename = "Vertex")]
|
||||
pub vertex: Vec<Vertex>
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct PartType {
|
||||
pub id: String,
|
||||
@ -74,8 +84,8 @@ pub mod part_list {
|
||||
pub drag: Option<f64>,
|
||||
pub hidden: Option<bool>,
|
||||
pub buoyancy: Option<f64>,
|
||||
#[serde(rename = "@Shape")]
|
||||
pub shapes: Option<Vec<Vertex>>
|
||||
#[serde(rename = "Shape")]
|
||||
pub shapes: Option<Vec<Shape>>
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
Loading…
Reference in New Issue
Block a user