Skip to content

wardru/panduza-rust-platform

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

panduza-rust-platform

Usage

You must install Rust and Cargo then execute this commands

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

# Enable fmt tracing + broker logs 
cargo run --features trac-fmt, 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

About

Panduza Rust Platform Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 99.1%
  • Other 0.9%