Skip to content

Commit

Permalink
Move cli util to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
hauju committed Dec 21, 2023
1 parent 4738648 commit 17f9740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ keywords = ["scd40", "scd41", "sensirion", "driver", "embedded-hal-driver"]
categories = ["embedded", "no-std"]
readme = "README.md"
edition = "2018"
default-run = "scd4x-util"

[features]
scd41 = []
Expand All @@ -36,5 +37,5 @@ embedded-hal-mock = "0.8"

[[bin]]
name = "scd4x-util"
path = "src/main.rs"
path = "bin/main.rs"
required-features = ["util"]
2 changes: 1 addition & 1 deletion src/main.rs → bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use linux_embedded_hal as hal;
use log::{debug, info, error};

use structopt::StructOpt;
use humantime::{Duration as HumanDuration};
use humantime::Duration as HumanDuration;
use simplelog::{TermLogger, LevelFilter};

use scd4x::{Scd4x, Error};
Expand Down

0 comments on commit 17f9740

Please sign in to comment.