Skip to content

Commit

Permalink
refactor: split python & rust packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGw committed Jun 10, 2024
1 parent 0452436 commit d760354
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[package]
name = "gcm_rs"
version = "1.0.0"
version = "1.0.0-beta"
authors = ["[email protected]"]
edition = "2021"
description = "AES-256 GCM"
Expand All @@ -10,7 +10,7 @@ license = "GPL-3.0"

[lib]
name = "gcm_rs"
path = "rust/lib.rs"
path = "packages/rust/lib.rs"
crate-type = ["cdylib"]

[profile.dev]
Expand Down
1 change: 1 addition & 0 deletions packages/pylib/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from pylib import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion py/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ dynamic = ["version"]

[tool.maturin]
python-source = "."
module-name = "py._lib_name"
module-name = "packages/pylib._lib_name"
features = ["pyo3/extension-module"]

0 comments on commit d760354

Please sign in to comment.