Skip to content

Commit

Permalink
Merge pull request #12 from VirxEC/all-update
Browse files Browse the repository at this point in the history
Update all dependencies
  • Loading branch information
dtracers authored Oct 31, 2023
2 parents 04a1d92 + 9607650 commit f23fadc
Show file tree
Hide file tree
Showing 8 changed files with 276 additions and 192 deletions.
97 changes: 84 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

# Created by https://www.gitignore.io/api/rust,python
# Edit at https://www.gitignore.io/?templates=rust,python
# Created by https://www.toptal.com/developers/gitignore/api/rust,python
# Edit at https://www.toptal.com/developers/gitignore?templates=rust,python

### Python ###
# Byte-compiled / optimized / DLL files
Expand All @@ -25,7 +24,6 @@ parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
Expand All @@ -52,24 +50,46 @@ htmlcov/
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
Expand All @@ -78,24 +98,47 @@ target/
# install all needed dependencies.
#Pipfile.lock

# celery beat schedule file
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# mkdocs documentation
/site

Expand All @@ -107,10 +150,33 @@ dmypy.json
# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

### Python Patch ###
# Poetry local configuration file - https://python-poetry.org/docs/configuration/#local-configuration
poetry.toml

# ruff
.ruff_cache/

# LSP config files
pyrightconfig.json

### Rust ###
# Generated by Cargo
# will have compiled files and executables
/target/
debug/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Expand All @@ -119,4 +185,9 @@ Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

# End of https://www.gitignore.io/api/rust,python
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# End of https://www.toptal.com/developers/gitignore/api/rust,python

.vscode/
31 changes: 12 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
[package]
name = "boxcars-py"
version = "0.1.15"
version = "0.1.16"
authors = ["Justus K <[email protected]>", "Matthew Mage <[email protected]>"]
edition = "2018"

[package.metadata.maturin]
classifier = [
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python",
"Programming Language :: Rust",
]
edition = "2021"
exclude = [".*", "tests/", "Makefile"]

[dependencies]
boxcars = "0.9.4"
serde_json = "1.0.52"
boxcars = "0.9.10"
serde_json = "1.0.107"

[dependencies.pyo3]
version = "0.13.0"
features = ["extension-module"]
version = "0.20.0"
features = ["extension-module", "abi3-py37"]

[lib]
name = "boxcars_py"
crate-type = ["cdylib"]

[profile.release]
strip = true
lto = true
panic = "abort"
File renamed without changes.
1 change: 1 addition & 0 deletions boxcars_py/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def parse_replay(data: bytes) -> dict: ...
Empty file added boxcars_py/py.typed
Empty file.
Loading

0 comments on commit f23fadc

Please sign in to comment.