Skip to content

Commit

Permalink
mv profiles into root workspace
Browse files Browse the repository at this point in the history
Signed-off-by: chengqinglin <[email protected]>
  • Loading branch information
imuxin committed Oct 25, 2023
1 parent c2bc615 commit eb39e9f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@
default-members = ["kubectl-watch"]
members = ["kubectl-watch", "difftastic-lib"]
resolver = "2"

[profile.release]
# Release builds don't have debug symbols by default. We explicitly
# set this flag so it's easier to toggle when profiling with
# flamegraph.
#
# https://doc.rust-lang.org/cargo/reference/profiles.html#release
debug = false
19 changes: 9 additions & 10 deletions difftastic-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ repository = "https://github.com/imuxin/difftastic-lib"
homepage = "http://difftastic.wilfred.me.uk/"
license = "MIT"
version = "0.0.2"
authors = ["Wilfred Hughes <[email protected]>", "chengqinglin <[email protected]>"]
authors = [
"Wilfred Hughes <[email protected]>",
"chengqinglin <[email protected]>",
]
keywords = ["diff", "syntax"]
categories = ["development-tools", "command-line-utilities", "parser-implementations"]
categories = [
"development-tools",
"command-line-utilities",
"parser-implementations",
]
edition = "2021"
include = [
"/build.rs",
Expand Down Expand Up @@ -57,14 +64,6 @@ cc = "1.0.73"
rayon = "1.5.2"
version_check = "0.9.4"

[profile.release]
# Release builds don't have debug symbols by default. We explicitly
# set this flag so it's easier to toggle when profiling with
# flamegraph.
#
# https://doc.rust-lang.org/cargo/reference/profiles.html#release
# debug = false

[[bin]]
name = "difft"
path = "src/main.rs"
Expand Down

0 comments on commit eb39e9f

Please sign in to comment.