Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

cargo-metadata (1)

Name

cargo-metadata - readable metadata about the current project

Synopsis

cargo metadata [OPTIONS]

Description

CARGO-METADATA(1)                Cargo Manual                CARGO-METADATA(1)



NAME
       cargo-metadata - Machine-readable metadata about the current project

SYNOPSIS
       cargo metadata [OPTIONS]

DESCRIPTION
       Output  the  resolved dependencies of a project, the concrete used ver-
       sions including overrides, in machine-readable format.

OPTIONS
       -h, --help
              Print this message.

       --features FEATURES
              Space-separated list of features.

       --all-features
              Build all available features.

       --no-default-features
              Do not include the default feature.

       --no-deps
              Output information only about the root package and  don't  fetch
              dependencies.

       --manifest-path PATH
              Path to the manifest.

       --format-version VERSION
              Format version [default: 1]. Valid values: 1.

       -v, --verbose
              Use verbose output.

       -q, --quiet
              No output printed to stdout.

       --color WHEN
              Coloring: auto, always, never.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE    |
       +---------------+----------------------+
       |Availability   | developer/rust/cargo |
       +---------------+----------------------+
       |Stability      | Volatile             |
       +---------------+----------------------+
SEE ALSO
       cargo(1)

COPYRIGHT
       This  work  is dual-licensed under Apache 2.0 and MIT terms.  See COPY-
       RIGHT file in the cargo source distribution.



NOTES
       This software was built from source available at https://github.com/or-
       acle/solaris-userland.   The  original  community source was downloaded
       from  https://static.rust-lang.org/dist/rustc-1.28.0-src.tar.xz

       Further information about this software can be found on the open source
       community website at http://www.rust-lang.org/.



The Rust package manager           May 2016                  CARGO-METADATA(1)