mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +01:00
fix: moved import, exclude dist from packaging
This commit is contained in:
parent
9889891612
commit
b8376a5ef8
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ authors = [
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
version = "0.7.0-beta.1"
|
version = "0.7.0-beta.1"
|
||||||
|
exclude = ["dist/*"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "codemp"
|
name = "codemp"
|
||||||
|
|
|
@ -6,7 +6,7 @@ use pyo3::prelude::*;
|
||||||
impl Client {
|
impl Client {
|
||||||
#[new]
|
#[new]
|
||||||
fn __new__(host: String, username: String, password: String) -> crate::errors::ConnectionResult<Self> {
|
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")]
|
// #[pyo3(name = "join_workspace")]
|
||||||
|
|
Loading…
Reference in a new issue