Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General internal project improvements #15

Merged
merged 1 commit into from
Feb 8, 2024
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
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"
Loading