Skip to content

Commit

Permalink
Refactor crates (#97)
Browse files Browse the repository at this point in the history
* refactor repo into sub crates

* fix python

* fix kornia-serve

* workspace definitions

* fix docker

* fix deps

* exclude py package from workspace

* add dependency

* fix serve docker

* exclude py and serve

* propagate features to kornia-io

* clean deps

* use kornia-rs for the examples

* fix py and serve

* fix readme

* move examples to single crates

* kornia-py and kornia-serve to excluded members

* move benches to crates

* update gstreamer 0.23

* remove vscode artifacts

* remove vscode artifacts

* update py

* remove artifacts

* define as modules in kornia_rs

* improve docs

* add docs

* remove more artifacts

* try to organize better dockers

* undo cross docker

* polish docs

* rename kornia-rs to kornia namespace
  • Loading branch information
edgarriba authored Jul 15, 2024
1 parent fd7ecea commit 0a48437
Show file tree
Hide file tree
Showing 123 changed files with 2,469 additions and 8,378 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
python-version: 3.8
- name: Install dependencies
run: sudo apt-get install -y cmake nasm
run: sudo apt-get install -y cmake nasm libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
- name: Build and test
run: make test-python
# NOTE: there's a systematic fail with the ci on macos
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: publish
args: --verbose --target ${{ matrix.target }} --features "gstreamer,jpegturbo"
args: --verbose --target ${{ matrix.target }} --all-features
use-cross: true
2 changes: 1 addition & 1 deletion .github/workflows/rust_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{ matrix.target }} --features "gstreamer,jpegturbo"
args: --target ${{ matrix.target }} --all-features
use-cross: true
build_examples:
name: Build Examples
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
target/
docker/
examples/*/Cargo.lock
Cargo.lock
*.code-workspace
Loading

0 comments on commit 0a48437

Please sign in to comment.