Skip to content

Commit

Permalink
remove socketcan feature and move socketcan to dev dependency
Browse files Browse the repository at this point in the history
socketcan will only be needed only inside the example so we can change it into dev-dependencies
  • Loading branch information
Jannes Brands committed Jan 27, 2024
1 parent 38309bf commit bf52d30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,19 @@ keywords = ["agriculture", "can", "canbus", "isobus", "j1939", "agritech", "smar
[dependencies]
bitvec = "1.0.1"
rand = "0.8.5"
socketcan = { version = "2.0.0", optional = true }
strum_macros = "0.25.2"
embedded-can = "0.4.1"

[features]
default = []
socketcan = ["dep:socketcan"]

[dev-dependencies]
clap = { version = "4.3.19", features = ["derive"] }
ctrlc = "3.4.0"
# TODO: Add optional tracing to the main library
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
socketcan = { version = "3.3.0" }

[[example]]
name = "forward"
required-features = ["socketcan"]

0 comments on commit bf52d30

Please sign in to comment.