Skip to content

Commit f5ae50b

Browse files
committed
chore: moved all source under src
1 parent 5e570eb commit f5ae50b

File tree

235 files changed

+2
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[lib]
77
name = "aiocraft"
8-
path = "src/lib.rs" # The source file of the target.
8+
path = "src/aiocraft/rs/lib.rs" # The source file of the target.
99
crate-type = ["cdylib"]
1010

1111
[dependencies]

aiocraft/__init__.py renamed to src/aiocraft/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .types import *
66
from .auth import MicrosoftAuthenticator, MojangAuthenticator
77

8-
from .aiocraft import * # This is needed for PyO3 functions! No clue why or how...
8+
from .aiocraft import * # TODO why does PyO3 use the Cargo package name as top level name too??
99

1010
__author__ = "alemidev"
1111
__credits__ = "Thanks to pyCraft, really inspired this"
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.
File renamed without changes.

0 commit comments

Comments
 (0)