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

Commit

Permalink
remove python features, leave up to dependent crates
Browse files Browse the repository at this point in the history
  • Loading branch information
arcnmx authored and iliana committed Aug 30, 2017
1 parent a77923e commit 1878f0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 0 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ exclude = [".gitignore", "builder", "examples"]
serde_json = "1.0"
cpython = { version = "0.1", default-features = false }
cpython-json = { version = "0.2", default-features = false }

[features]
default = ["python3-sys"]
python27-sys = ["cpython/python27-sys", "cpython-json/python27-sys"]
python3-sys = ["cpython/python3-sys", "cpython-json/python3-sys"]
6 changes: 2 additions & 4 deletions examples/ec2-regions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ crate-type = ["cdylib"]

[dependencies]
# Normally you'd write: crowbar = "0.2"
crowbar = { path = "../..", version = "0.2", default-features = false }
crowbar = { path = "../..", version = "0.2" }
cpython = { version = "0.1", default-features = false }
rusoto_core = "0.25"
rusoto_ec2 = "0.25"

[features]
default = ["python3-sys"]
python27-sys = ["crowbar/python27-sys", "cpython/python27-sys"]
python3-sys = ["crowbar/python3-sys", "cpython/python3-sys"]
default = ["cpython/python3-sys"]
5 changes: 4 additions & 1 deletion examples/echo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ crate-type = ["cdylib"]
[dependencies]
# Normally you'd write: crowbar = "0.2"
crowbar = { path = "../..", version = "0.2" }
cpython = "0.1"
cpython = { version = "0.1", default-features = false }

[features]
default = ["cpython/python3-sys"]

0 comments on commit 1878f0c

Please sign in to comment.