Skip to content

Commit

Permalink
General internal project improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
zakstucke committed Feb 8, 2024
1 parent 8d1a4bd commit 2b720f1
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .yamlfmt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
doublestar: true # Include/exclude patterns will use git style globbing

formatter:
type: basic
max_line_length: 100
Expand Down
22 changes: 11 additions & 11 deletions .zetch.lock

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

3 changes: 1 addition & 2 deletions bitbazaar.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@
"editor.formatOnSave": true,
"editor.formatOnPaste": false,
"editor.codeActionsOnSave": {
// Ruff will auto fix issues and sort imports (needs extension https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff)
"source.fixAll": true
"source.fixAll": "explicit"
},
// Ruff (replaces black) formats python code (needs extension https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff)
"editor.defaultFormatter": "charliermarsh.ruff"
Expand Down
16 changes: 14 additions & 2 deletions py_rust/Cargo.lock

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

14 changes: 4 additions & 10 deletions py_rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ license = "MIT"
# This crate should only be released as a python package, so disable any rust side crates publishing:
publish = false


[lib]
name = "bitbazaar_rs"
crate-type = ["cdylib"]
Expand All @@ -18,15 +17,10 @@ path = "src/lib.rs"
colored = '2'
tracing = "0.1"
error-stack = "0.4"


[dependencies.bitbazaar]
features = []
version = '0.0.23'

[dependencies.pyo3]
features = ['extension-module', 'chrono', 'generate-import-lib']
version = '0.20.0'
bitbazaar = { version = '0.0.28', features = [] }
pyo3 = { version = '0.20.0', features = ['extension-module', 'chrono', 'generate-import-lib'] }
parking_lot = { version = "0.12", features = ['deadlock_detection', 'serde'] }
strum = { version = '0.25', features = ['derive'] }

[profile.profiler]
inherits = "release" # Adds on top of the default release profile
Expand Down
5 changes: 3 additions & 2 deletions py_rust/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ build-backend = "maturin"
python-source = "python"
module-name = "bitbazaar_rs._rs"

dependencies = []

[project]
name = "bitbazaar_rs"
description = "An assortment of publicly available cross-language utilities useful to my projects."
Expand All @@ -32,6 +30,9 @@ classifiers = [
'License :: OSI Approved',
]

# Python deps:
dependencies = []

[project.urls]
"Sourcecode" = "https://github.com/zakstucke/bitbazaar"
"Documentation" = "https://zakstucke.github.io/bitbazaar"

0 comments on commit 2b720f1

Please sign in to comment.