iliana / rust-crowbar

Wrapper to simplify writing AWS Lambda functions in Rust (using the Python execution environment)
https://docs.rs/crowbar
Apache License 2.0
197 stars 16 forks source link

Leave python version selection up to dependent crates #8

Closed arcnmx closed 7 years ago

arcnmx commented 7 years ago

Considering that any dependency of crowbar planning on using the lambda!() macro must also depend on cpython we can simplify things here; there's no need for crowbar to have the python version features.

It's also easy to change the python version from the command line when building:

cd examples/ec2-regions/
cargo build --no-default-features --features cpython/python27-sys