Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion modeling-cmds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"

[dependencies]
anyhow = "1.0.97"
chrono = "0.4.39"
chrono = { version = "0.4.39", features = ["serde"] }
cxx = { version = "1.0", optional = true }
data-encoding = "2.8.0"
enum-iterator = "2.1.0"
Expand All @@ -37,6 +37,7 @@ serde_json = { version = "1.0.139", optional = true }
slog = { version = "2.7.0", optional = true }
tabled = { version = "0.18", optional = true }
ts-rs = { version = "10.1.0", optional = true, features = [
"chrono-impl",
"uuid-impl",
"no-serde-warnings",
"serde-json-impl",
Expand Down
8 changes: 1 addition & 7 deletions modeling-cmds/src/format/fbx.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use crate::datetime::DateTimeLocal;

use parse_display::{Display, FromStr};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -30,11 +28,7 @@ pub mod export {
pub storage: Storage,

/// Timestamp override.
///
/// This is intended for local integration testing only; it is not provided as an option
/// in the JSON schema.
#[serde(skip)]
pub created: Option<DateTimeLocal>,
pub created: Option<chrono::DateTime<chrono::Utc>>,
}

impl std::fmt::Display for Options {
Expand Down
5 changes: 1 addition & 4 deletions modeling-cmds/src/format/step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ pub mod export {
///
/// [KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html
pub coords: coord::System,

/// Timestamp override.
///
/// This is intended for local integration testing only; it is not provided as an option
/// in the JSON schema.
#[serde(skip)]
pub created: Option<chrono::DateTime<chrono::Utc>>,
}

Expand Down