Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

experimental test of crowbar without need for macro imports #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
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 }
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the rustc flag for this gets passed in here

2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#[macro_use]
extern crate cpython;
#[macro_use]
extern crate crowbar;

lambda!(|event, _| {
Expand Down