Skip to content

Commit

Permalink
fix: moved import, exclude dist from packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
alemidev committed Sep 5, 2024
1 parent 9889891 commit b8376a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ authors = [
license = "GPL-3.0-only"
edition = "2021"
version = "0.7.0-beta.1"
exclude = ["dist/*"]

[lib]
name = "codemp"
Expand Down
2 changes: 1 addition & 1 deletion src/ffi/python/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use pyo3::prelude::*;
impl Client {
#[new]
fn __new__(host: String, username: String, password: String) -> crate::errors::ConnectionResult<Self> {
tokio().block_on(Client::connect(host, username, password))
super::tokio().block_on(Client::connect(host, username, password))
}

// #[pyo3(name = "join_workspace")]
Expand Down

0 comments on commit b8376a5

Please sign in to comment.