Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# EditorConfig is awesome: http://EditorConfig.org

root = true

[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
trim_trailing_whitespace = false
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Cargo.lock

#region USER CUSTOM PATTERNS ----------------------------------------------------------------------

**/coverage/*
**/sketch/*
**/sketch*/*
**/sketch*.*
Expand All @@ -179,6 +180,6 @@ Cargo.lock
# Files generated by solrcopy testing

*.zip
.env

#endregion ----------------------------------------------------------------------------------------
.env
20 changes: 20 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"recommendations": [
//
//-- Used for IDE, Workbench, Tools --------------------------------------------
//
"rust-lang.rust-analyzer",
"vadimcn.vscode-lldb",
"Wequick.coverage-gutters",
"tamasfe.even-better-toml",
//
//-- Used for: launch.json, tasks.json, launch/debug -----------------------
//
"rioj7.command-variable", //? Add files/pickers/commands variables for launch.json and tasks.json
"augustocdias.tasks-shell-input", //? Use shell commands as input for your tasks
//
],
"unwantedRecommendations": [
"serayuzgur.crates",
]
}
37 changes: 37 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
// Editor settings
"editor.tabSize": 4,
"editor.rulers": [
80,
88,
120
],
"editor.renderWhitespace": "trailing",
"editor.suggestSelection": "first",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
// Search settings
"search.exclude": {
"node_modules/**/*": true,
"target/**/*": true,
"sketch/**/*": true,
"**/sketch*": true,
"**/*sketch.*": true,
"**/.log": true,
"**/.lock": true
},
// Controls whether the coverage toolbar is shown in the editor.
"testing.coverageToolbarEnabled": true,
// Show the Test Explorer view.
"rust-analyzer.testExplorer": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"[markdown]": {
"files.trimTrailingWhitespace": false,
},
// "coverage-gutters.showLineCoverage": true,
// "coverage-gutters.showRulerCoverage": true,
"coverage-gutters.watchOnActivate": true,
}
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ edition = "2024"
rust-version = "1.85.1"

authors = ["Juarez Rudsatz <juarezr@gmail.com>"]
description = "Tool for backup and restore of documents stored in cores of solr"
description = "Command line tool useful for migration, transformations, backup, and restore of documents stored inside cores of Apache Solr"
homepage = "https://github.com/juarezr/solrcopy"
repository = "github.com:juarezr/solrcopy.git"
repository = "https://github.com/juarezr/solrcopy"
license = "gpl-3.0-or-later"
readme = "README.md"
categories = ["command-line-utilities"]
keywords = ["solr", "dataimport", "dih", "fulltext-search", "apache-solr"]
keywords = ["solr", "dataimport", "dih", "fulltext-search", "apache-solr", "data-engineering"]

[dependencies]
clap = { version = "4.5.*", features = ["derive", "env", "color"] }
clap_complete = "4.5.*"
clap_mangen = "0.2.*"
regex = "1.10.*"
regex = "1.11.*"
url = "2.5.*"
lazy_static = "1.5.*"
ureq = { version = "3.1.*", features = ["rustls", "charset", "cookies", "brotli", "socks-proxy"] }
zip = { version = "5.*", features = ["deflate", "time"] }
indicatif = "^0.17"
chrono = "^0.4.20"
indicatif = "^0.18"
chrono = "^0.4.*"
glob = "0.3.*"
log = "0.4.*"
simplelog = "0.12.*"
crossbeam-channel = "0.5.15"
crossbeam-channel = "0.5.*"
crossbeam-utils = "0.8.*"
ctrlc = { version = "3.4.*", features = ["termination"] }
dotenvy = "0.15.7"
ctrlc = { version = "3.5.*", features = ["termination"] }
dotenvy = "0.15.*"

# standard crate data is left out
[dev-dependencies]
Expand Down
Loading
Loading