Skip to content

Commit

Permalink
chore: refactor dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wfxr committed Mar 14, 2021
1 parent 941aae2 commit 944d355
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 16 deletions.
22 changes: 12 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@ keywords = [
"tool",
]
license = "MIT/Apache-2.0"
exclude = [
"/completions"
]
exclude = ["/completions"]
repository = "https://github.com/wfxr/code-minimap"
edition = "2018"
build = "build.rs"

[features]
default = ["application"]
# Feature required for build the `code-minimap` application. Should be disabled when
# depending on `code-minimap` as a library.
application = ["structopt"]

[lib]
name = "code_minimap"
path = "src/lib.rs"
Expand All @@ -29,14 +33,14 @@ path = "src/bin/code-minimap/main.rs"
nix = "0.18"

[dependencies]
itertools = "0.9"
structopt = { version = "0.3", features = ["wrap_help"] }
itertools = "0.10"
structopt = { version = "0.3", features = ["wrap_help"], optional = true }

[build-dependencies]
structopt = "0.3"

[dev-dependencies]
rstest = "0.6.4"
rstest = "0.6"

[profile.release]
lto = true
Expand Down

0 comments on commit 944d355

Please sign in to comment.