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