Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.
/ p4-cmd Public archive

P4 Rust API (wraps CLI)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

epage/p4-cmd

Repository files navigation

p4-cmd

Perforce API for Rust

Travis Status Appveyor Status Documentation License Crates Status

Usage

To include p4-cmd in your project add the following to your Cargo.toml:

[dependencies]
p4-cmd = "0.1"

Now you can use the crate in your code:

extern crate p4_cmd;

Note: This requires the p4 binary to be available.

Why wrap the p4 binary rather than the API?

  • The API is in C++ and would require first wrapping in C.
  • The API would not be Sync, requiring more work to have a Sync API.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

P4 Rust API (wraps CLI)

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages