Skip to content
Merged
Show file tree
Hide file tree
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 Jan 9, 2023
57aef53
Move rust/ -> crates/
alecandido May 7, 2023
4ad50a0
Consistently propagate ekore name
alecandido May 7, 2023
15839a1
Add description and license to ekore
alecandido May 7, 2023
88f1bec
Use the correct name for the project
alecandido May 7, 2023
bdd7532
Poetry lock
alecandido May 7, 2023
51f1316
Create a CFFI package with maturin
alecandido Aug 1, 2023
2ea8cfc
Interface with Scipy
alecandido Aug 1, 2023
dda04a7
Add py callback
felixhekhorn Aug 1, 2023
fca8711
Pass Rust array out
felixhekhorn Aug 2, 2023
86b0b60
Pass array through Rust to Numba
felixhekhorn Aug 2, 2023
d199e5f
Rename ekuad to eko
alecandido Aug 2, 2023
40b530e
Add polygamma in Rust
felixhekhorn Aug 2, 2023
338c7db
Add cargo fmt to pre-commit and ekore/h/w1
felixhekhorn Aug 4, 2023
8f80cc9
Add more rust ekore
felixhekhorn Aug 4, 2023
8f6161a
Complete cr/ekore/ad/u/s/as1
felixhekhorn Aug 4, 2023
02b772f
Skip rust on pre-commit.ci
felixhekhorn Aug 7, 2023
9ddfbe8
Merge branch 'master' into rust
felixhekhorn Aug 7, 2023
cda30ae
Run poetry lock
felixhekhorn Aug 7, 2023
a52d096
Merge branch 'master' into rust
felixhekhorn Aug 7, 2023
a9c985b
Run poetry lock
felixhekhorn Aug 7, 2023
daefdd5
Add cr/ekore/ad/u/spacelike
felixhekhorn Aug 7, 2023
3e1c6e9
Add cr/eko/mellin
felixhekhorn Aug 7, 2023
cc373ed
Add quad_ker in Rust
felixhekhorn Aug 7, 2023
2250502
Adjust Rust types and ranges
felixhekhorn Aug 7, 2023
731832c
Adjust eko to Rust
felixhekhorn Aug 7, 2023
1c716f7
Fight against rustdoc
felixhekhorn Aug 7, 2023
98ab205
Test alternative bib in rust
felixhekhorn Aug 8, 2023
ae93581
Clean up outdated/stub elements
alecandido Aug 11, 2023
114cd13
Fix bib path in existing references
alecandido Aug 11, 2023
f68b02c
Add katex to rust
felixhekhorn Aug 11, 2023
0b1df81
Upgrade bibliothek
felixhekhorn Aug 18, 2023
004cace
rust: Update doc strings
felixhekhorn Aug 18, 2023
6fd5c15
rust: Add more doc strings
felixhekhorn Aug 18, 2023
fbf6fe4
rust: Init unit tests
felixhekhorn Aug 18, 2023
4574b0d
rust: Add unit tests for ad/u/s/as1
felixhekhorn Aug 18, 2023
3b5ea35
Drop unused imports
felixhekhorn Sep 19, 2023
630f857
Restore eko/e_o/init and add patch file
felixhekhorn Sep 19, 2023
a512ff9
Merge branch 'master' into rust
felixhekhorn Sep 19, 2023
4221c9a
Drop rust debug files
felixhekhorn Sep 22, 2023
1fa54f3
Use hashbrown instead of std
felixhekhorn Sep 22, 2023
408b5be
rust: Add cmplx!
felixhekhorn Oct 23, 2023
941d64f
Replace bibliothek with manual list
felixhekhorn Nov 29, 2023
63eb191
Add quick bibtex2rs parser
felixhekhorn Nov 29, 2023
5563641
Fix some rust hickups
felixhekhorn Nov 29, 2023
7a649cb
Reset pyproject.toml and add patch instead
felixhekhorn Jan 11, 2024
2b60979
Merge branch 'master' into rust
felixhekhorn Jan 11, 2024
230646b
Merge branch 'master' into rust
felixhekhorn Jan 11, 2024
2ae804f
Fix eko/e_o/init patch
felixhekhorn Jan 11, 2024
4665f45
Provide patch for tests of eko/e_o/init
felixhekhorn Jan 11, 2024
ed74857
Add rustify script
felixhekhorn Jan 11, 2024
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
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
ci:
autofix_prs: false
skip: [fmt-eko, fmt-ekore]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down Expand Up @@ -42,6 +43,24 @@ repos:
args: ["--add-ignore=D107,D105"]
additional_dependencies:
- toml
- repo: local
hooks:
- id: fmt-eko
name: fmt-eko
description: Format eko files with cargo fmt.
entry: cargo fmt --manifest-path crates/eko/Cargo.toml --
Comment thread
alecandido marked this conversation as resolved.
language: system
files: ^crates/eko/.*\.rs$
args: []
- repo: local
hooks:
- id: fmt-ekore
name: fmt-ekore
description: Format ekore files with cargo fmt.
entry: cargo fmt --manifest-path crates/ekore/Cargo.toml --
language: system
files: ^crates/ekore/.*\.rs$
args: []
- repo: https://github.com/pre-commit/pre-commit
rev: v3.6.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions crates/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
204 changes: 204 additions & 0 deletions crates/Cargo.lock

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

3 changes: 3 additions & 0 deletions crates/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[workspace]

members = ["eko", "ekore"]
13 changes: 13 additions & 0 deletions crates/eko/Cargo.toml
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" }
16 changes: 16 additions & 0 deletions crates/eko/pyproject.toml
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"
Comment thread
felixhekhorn marked this conversation as resolved.
Loading