Commit e83733f6 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'misc-cleanups'

953dd623 cargo: update minimum versions
13f63880 rustfmt: remove year from the copyright header
888162f7 doc: add a comment about the non_exhaustive feature
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !69
parents 0a0fe4ca 953dd623
// Copyright {\d+} Kitware, Inc.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
......
......@@ -16,9 +16,9 @@ keywords = ["git", "utility"]
itertools = "~0.7"
[dependencies]
lazy_static = "^1.0"
lazy_static = "^1.1"
log = "~0.4"
regex = "^1.0"
tempdir = "~0.3"
tempdir = "~0.3.6"
chrono = "~0.4"
chrono = "~0.4.1"
// Copyright 2016 Kitware, Inc.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
......@@ -21,6 +19,9 @@ use prepare::{GitWorkArea, WorkAreaResult};
pub struct CommitId(String);
/// Errors which may occur when working with workareas.
///
/// This enum is `non_exhaustive`, but cannot be marked as such until it is stable. In the
/// meantime, there is a hidden variant.
#[derive(Debug)]
// TODO: #[non_exhaustive]
pub enum GitError {
......
// Copyright 2016 Kitware, Inc.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
......
// Copyright 2016 Kitware, Inc.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
......@@ -42,6 +40,9 @@ pub enum SubmoduleIntent {
}
/// Errors which may occur when using a workarea.
///
/// This enum is `non_exhaustive`, but cannot be marked as such until it is stable. In the
/// meantime, there is a hidden variant.
#[derive(Debug)]
// TODO: #[non_exhaustive]
pub enum WorkAreaError {
......
// Copyright 2016 Kitware, Inc.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment