Skip to content

Commit

Permalink
Fix chrono import issue. (#7)
Browse files Browse the repository at this point in the history
* Add GPS message types, consolidate SBG messages, create common message type.

* Rework import of chrono to not blindly use arbitrary flag that depends on std.
  • Loading branch information
NoahSprenger authored Dec 30, 2024
1 parent 4a6662e commit cdf249e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bitflags = { version = "2.3.1", features = ["serde"] }
proptest = { version = "1.2.0", optional = true }
proptest-derive = { version = "0.3.0", optional = true }
messages-proc-macros-lib = { path = "messages-proc-macros-lib" }
chrono = { git = "https://github.com/uorocketry/chrono", features = ["serde", "arbitrary"], default-features = false}
chrono = { git = "https://github.com/uorocketry/chrono", features = ["serde"], default-features = false }
ublox = { git = "https://github.com/uorocketry/ublox", features = ["serde"], default-features = false }

[dev-dependencies]
Expand All @@ -28,4 +28,4 @@ postcard = { version = "1.0.4", features = ["alloc"] }

[features]
default = ["mavlink/embedded-hal-02", "mavlink/uorocketry"]
std = ["chrono/std", "mavlink/std", "mavlink/tcp", "mavlink/udp", "mavlink/direct-serial", "mavlink/serde", "dep:proptest", "dep:proptest-derive"]
std = ["chrono/std", "chrono/arbitrary", "mavlink/std", "mavlink/tcp", "mavlink/udp", "mavlink/direct-serial", "mavlink/serde", "dep:proptest", "dep:proptest-derive"]

0 comments on commit cdf249e

Please sign in to comment.