-
Notifications
You must be signed in to change notification settings - Fork 7
Introduce Rust extension #189
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
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
68b3ec8
Start laying out Rust extension
alecandido 57aef53
Move rust/ -> crates/
alecandido 4ad50a0
Consistently propagate ekore name
alecandido 15839a1
Add description and license to ekore
alecandido 88f1bec
Use the correct name for the project
alecandido bdd7532
Poetry lock
alecandido 51f1316
Create a CFFI package with maturin
alecandido 2ea8cfc
Interface with Scipy
alecandido dda04a7
Add py callback
felixhekhorn fca8711
Pass Rust array out
felixhekhorn 86b0b60
Pass array through Rust to Numba
felixhekhorn d199e5f
Rename ekuad to eko
alecandido 40b530e
Add polygamma in Rust
felixhekhorn 338c7db
Add cargo fmt to pre-commit and ekore/h/w1
felixhekhorn 8f80cc9
Add more rust ekore
felixhekhorn 8f6161a
Complete cr/ekore/ad/u/s/as1
felixhekhorn 02b772f
Skip rust on pre-commit.ci
felixhekhorn 9ddfbe8
Merge branch 'master' into rust
felixhekhorn cda30ae
Run poetry lock
felixhekhorn a52d096
Merge branch 'master' into rust
felixhekhorn a9c985b
Run poetry lock
felixhekhorn daefdd5
Add cr/ekore/ad/u/spacelike
felixhekhorn 3e1c6e9
Add cr/eko/mellin
felixhekhorn cc373ed
Add quad_ker in Rust
felixhekhorn 2250502
Adjust Rust types and ranges
felixhekhorn 731832c
Adjust eko to Rust
felixhekhorn 1c716f7
Fight against rustdoc
felixhekhorn 98ab205
Test alternative bib in rust
felixhekhorn ae93581
Clean up outdated/stub elements
alecandido 114cd13
Fix bib path in existing references
alecandido f68b02c
Add katex to rust
felixhekhorn 0b1df81
Upgrade bibliothek
felixhekhorn 004cace
rust: Update doc strings
felixhekhorn 6fd5c15
rust: Add more doc strings
felixhekhorn fbf6fe4
rust: Init unit tests
felixhekhorn 4574b0d
rust: Add unit tests for ad/u/s/as1
felixhekhorn 3b5ea35
Drop unused imports
felixhekhorn 630f857
Restore eko/e_o/init and add patch file
felixhekhorn a512ff9
Merge branch 'master' into rust
felixhekhorn 4221c9a
Drop rust debug files
felixhekhorn 1fa54f3
Use hashbrown instead of std
felixhekhorn 408b5be
rust: Add cmplx!
felixhekhorn 941d64f
Replace bibliothek with manual list
felixhekhorn 63eb191
Add quick bibtex2rs parser
felixhekhorn 5563641
Fix some rust hickups
felixhekhorn 7a649cb
Reset pyproject.toml and add patch instead
felixhekhorn 2b60979
Merge branch 'master' into rust
felixhekhorn 230646b
Merge branch 'master' into rust
felixhekhorn 2ae804f
Fix eko/e_o/init patch
felixhekhorn 4665f45
Provide patch for tests of eko/e_o/init
felixhekhorn ed74857
Add rustify script
felixhekhorn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /target |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [workspace] | ||
|
|
||
| members = ["eko", "ekore"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| [package] | ||
| name = "eko" | ||
| version = "0.1.0" | ||
| edition = "2021" | ||
|
|
||
| [lib] | ||
| name = "ekors" | ||
| crate-type = ["cdylib"] | ||
|
|
||
| [dependencies] | ||
| num = "0.4.1" | ||
| katexit = "0.1.4" | ||
| ekore = { version = "0.1.0", path = "../ekore" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| [build-system] | ||
| requires = ["maturin>=1.1,<2.0"] | ||
| build-backend = "maturin" | ||
|
|
||
| [project] | ||
| name = "ekors" | ||
| requires-python = ">=3.8" | ||
| classifiers = [ | ||
| "Programming Language :: Rust", | ||
| "Programming Language :: Python :: Implementation :: CPython", | ||
| "Programming Language :: Python :: Implementation :: PyPy", | ||
| ] | ||
| dependencies = ["cffi"] | ||
|
|
||
| [tool.maturin] | ||
| bindings = "cffi" | ||
|
felixhekhorn marked this conversation as resolved.
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.