From 6ef393535488fd363edf3bfc9ace6d611c9cf090 Mon Sep 17 00:00:00 2001 From: softprops Date: Tue, 2 Oct 2018 16:56:09 -0400 Subject: [PATCH] experimental test of crowbar without need for macro imports --- Cargo.toml | 5 ++--- src/lib.rs | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b277c6f..3732956 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,5 @@ crate-type = ["cdylib"] name = "lambda" [dependencies] -cpython = "0.1" -crowbar = "0.2" -python3-sys = { version = "0.1.3", features = ["python-3-4"], optional = true } \ No newline at end of file +crowbar = { git = "https://github.com/softprops/rust-crowbar.git", branch = "re-export-cpython-macros" } +python3-sys = { version = "0.2.1", features = ["python-3-4"], optional = true } \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 8f873e1..339c74d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,4 @@ #[macro_use] -extern crate cpython; -#[macro_use] extern crate crowbar; lambda!(|event, _| {