Skip to content

Commit

Permalink
Update dev deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSprenger committed Oct 26, 2024
1 parent 965d5fd commit b92fe19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
name = "messages"
path = "src/lib.rs"

[dependencies]
derive_more = "0.99.17"
serde = {version = "1.0.150", default-features = false, features = ["derive"]}
Expand All @@ -21,16 +17,15 @@ mavlink = { git = "https://github.com/uorocketry/rust-mavlink.git", features = [
bitflags = { version = "2.3.1", features = ["serde"] }
proptest = { version = "1.2.0", optional = true }
proptest-derive = { version = "0.3.0", optional = true }
proptest-arbitrary-interop = { version = "0.1.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 = {version = "0.4.0", features = ["serde"], default-features = false}
chrono = {path = "/home/ns/Rocketry/chrono", features = ["serde"], default-features = false}

[dev-dependencies]
proptest = "1.2.0"
proptest-derive = "0.3.0"
postcard = { version = "1.0.4", features = ["alloc"] }
proptest-arbitrary-interop = "0.1.0"

[features]
default = ["mavlink/embedded-hal-02", "mavlink/uorocketry"]
std = ["chrono/std", "mavlink/std", "mavlink/tcp", "mavlink/udp", "mavlink/direct-serial", "mavlink/serde", "dep:proptest-arbitrary-interop", "dep:proptest", "dep:proptest-derive"]
std = ["chrono/std", "mavlink/std", "mavlink/tcp", "mavlink/udp", "mavlink/direct-serial", "mavlink/serde", "dep:proptest", "dep:proptest-derive"]
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ impl Format for FormattedNaiveDateTime {
/// Topmost message. Encloses all the other possible messages, and is the only thing that should
/// be sent over the wire.
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
#[derive(Format)]
#[cfg_attr(all(feature = "std", test), derive(proptest_derive::Arbitrary))]
pub struct Message {
pub timestamp: FormattedNaiveDateTime,
Expand Down

0 comments on commit b92fe19

Please sign in to comment.