Skip to content

Commit

Permalink
Merge pull request #5 from Manishearth/bump
Browse files Browse the repository at this point in the history
Update to 2018 edition, bump to 0.2.1
  • Loading branch information
Manishearth authored Sep 27, 2021
2 parents 300c95f + 55bbe1b commit 08fabb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "pathdiff"
version = "0.2.0"
edition = "2018"
version = "0.2.1"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
description = "Library for diffing paths to obtain relative paths"
documentation = "https://docs.rs/pathdiff/"
Expand Down
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
// Adapted from rustc's path_relative_from
// https://github.com/rust-lang/rust/blob/e1d0de82cc40b666b88d4a6d2c9dcbc81d7ed27f/src/librustc_back/rpath.rs#L116-L158

#[cfg(feature = "camino")]
extern crate camino;

use std::path::*;

/// Construct a relative path from a provided base directory path to the provided path.
Expand Down Expand Up @@ -150,7 +147,7 @@ mod utf8_paths {
}

#[cfg(feature = "camino")]
pub use utf8_paths::*;
pub use crate::utf8_paths::*;

#[cfg(test)]
mod tests {
Expand Down

0 comments on commit 08fabb3

Please sign in to comment.