Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CARGO-INIT(1)			 Cargo Manual			 CARGO-INIT(1)

NAME
       cargo-init - Create a new cargo package in the current directory

SYNOPSIS
       cargo init [OPTIONS]

DESCRIPTION
       Create a	new cargo package in the current directory.

       Use the --vcs option to control the version control system to use.

OPTIONS
       -h, --help
	      Print this message.

       --vcs VCS
	      Initialize a new repository for the given	version	control	system
	      (git or hg) or do	not initialize	any  version  control  at  all
	      (none) overriding	a global configuration.

       --bin  Use a binary instead of a	library	template.

       --name NAME
	      Set the resulting	package	name.

       -v, --verbose
	      Use verbose output.

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

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

EXAMPLES
       Initialize a binary cargo package in the	current	directory

	      $	cargo init --bin

SEE ALSO
       cargo(1), cargo-new(1)

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

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

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=cargo-init&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help