cargo-samply 0.1.3

A cargo subcommand to automate the process of running samply for the project binary
cargo-samply-0.1.3 is not a library.
Visit the last successful build: cargo-samply-0.4.2

Cargo Samply

Continuous integration

a simple integration binary that automates the process of running cargo build with a certain profile and samply afterwards. It installs samply if it is not available using cargo install.

Installation

for now you can install it from crates.io or directly from github.com

# crates.io
cargo install cargo-samply
# or from git
cargo install --git https://github.com/PhilippPolterauer/cargo-samply.git

Example Usage

The usage is quite simple

$ cargo new mybinary
$ cd mybinary
$ cargo samply
cargo.toml: ~/rust/mybinary/Cargo.toml
'samply' profile was added to 'Cargo.toml'
   Compiling mybinary v0.1.0 (~/rust/mybinary)
    Finished samply [optimized + debuginfo] target(s) in 0.18s
Hello, world!
Local server listening at http://127.0.0.1:3001

when opening the server address (127.0.0.1:3001) the output should look like the following. Samply Web View

Advanced Usecases with custom arguments

cargo samply --example