Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 974 Bytes

README.md

File metadata and controls

45 lines (33 loc) · 974 Bytes

panduza-rust-platform

Usage

You must install Rust and Cargo then execute this commands

# Enable fmt tracing (std terminal logs)
cargo run --features log

# Enable fmt tracing + broker logs 
cargo run --features log, broker-log

# Enable tokio console tracing
RUSTFLAGS="--cfg tokio_unstable" cargo run --features trac-console

Manage log levels

To set the log level at build time, please go to the Cargo.tml

Then edit the 'tacing' entry to set the level you want

tracing = { version = "0.1", features = [
    # "max_level_off",
    # "max_level_error",
    # "max_level_warn",
    "max_level_info",
    # "max_level_debug",
    # "max_level_trace",
    # "release_max_level_off",
    # "release_max_level_error",
    # "release_max_level_warn",
    "release_max_level_info",
    # "release_max_level_debug",
    # "release_max_level_trace"
]}

Linux video install :

sudo apt-get install libv4l-dev sudo apt-get install libclang-dev