Skip to content

Conversation

l-7-l
Copy link

@l-7-l l-7-l commented Oct 6, 2025

#39

  • NaiveTime
  • NaiveDate
  • NaiveDateTime
  • DateTime<Utc>
  • DateTime<FixedOffset>

@l-7-l
Copy link
Author

l-7-l commented Oct 6, 2025

CC: @finnbear, @caibear 中秋快乐 happy Moon Festival🥮

derive = [ "dep:bitcode_derive" ]
std = [ "serde?/std", "glam?/std", "arrayvec?/std" ]
default = [ "derive", "std" ]
chrono_datetime_fixedoffset = ["dep:chrono"]
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I add a chrono feature here? Why isn’t there a time feature ?

Copy link
Member

@finnbear finnbear Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a "time" feature, and you already did add a "chrono" feature.

[dependencies]
cool_crate = { optional = true }

creates a "cool_crate" feature.

If the cool_crate feature needs to enable other features, then you have to write

[dependencies]
cool_crate = { optional = true }

[features]
cool_crate = ["dep:cool_crate", "other_feature"]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, thanks for this PR! We'll review it later. 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants