Skip to content

Commit

Permalink
Source app-logging from crates.io (#19)
Browse files Browse the repository at this point in the history
Originally part of my intent was to demonstrate how library crates from
acap-rs can be used before they are published, but now I'm thinking:
- it is annoying that dependabot bumps the rev every week that there is
  a new commit in acap-rs.
- developers looking for a bleeding edge experience should be familiar
  enough with Rust to figure this our on their own.
- I should more proactively test and publish C API wrappers.
  • Loading branch information
apljungquist authored Jun 19, 2024
1 parent 367d4ee commit 9a8d75d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
23 changes: 12 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ version = "1.0.0"
edition = "2021"

[dependencies]
acap-logging = "0.0.0"
log = "0.4.21"

app-logging = { git = "https://github.com/AxisCommunications/acap-rs.git", ref="9dec3688b02dd72884d32d455c0831113f9a2771" }
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
use log::info;

fn main() {
app_logging::init_logger();
acap_logging::init_logger();
info!("Hello World!");
}

0 comments on commit 9a8d75d

Please sign in to comment.