##// END OF EJS Templates
rhg: add rhg crate...
Antoine Cezar -
r45503:cf04f62d default
parent child Browse files
Show More
@@ -0,0 +1,8 b''
1 [package]
2 name = "rhg"
3 version = "0.1.0"
4 authors = ["Antoine Cezar <antoine.cezar@octobus.net>"]
5 edition = "2018"
6
7 [dependencies]
8
@@ -0,0 +1,4 b''
1 # rhg
2
3 This project provides a fastpath Rust implementation of the Mercurial (`hg`)
4 version control tool.
@@ -0,0 +1,3 b''
1 max_width = 79
2 wrap_comments = true
3 error_on_line_overflow = true
@@ -0,0 +1,4 b''
1 pub type ExitCode = i32;
2
3 /// Command not implemented by rhg
4 pub const UNIMPLEMENTED_COMMAND: ExitCode = 252;
@@ -0,0 +1,5 b''
1 mod exitcode;
2
3 fn main() {
4 std::process::exit(exitcode::UNIMPLEMENTED_COMMAND)
5 }
@@ -487,6 +487,10 b' dependencies = ['
487 ]
487 ]
488
488
489 [[package]]
489 [[package]]
490 name = "rhg"
491 version = "0.1.0"
492
493 [[package]]
490 name = "rustc_version"
494 name = "rustc_version"
491 version = "0.2.3"
495 version = "0.2.3"
492 source = "registry+https://github.com/rust-lang/crates.io-index"
496 source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1,3 +1,3 b''
1 [workspace]
1 [workspace]
2 members = ["hg-core", "hg-cpython"]
2 members = ["hg-core", "hg-cpython", "rhg"]
3 exclude = ["chg", "hgcli"]
3 exclude = ["chg", "hgcli"]
General Comments 0
You need to be logged in to leave comments. Login now