diff options
author | tilpner | 2018-09-25 16:29:49 +0200 |
---|---|---|
committer | tilpner | 2018-09-25 16:30:17 +0200 |
commit | 498d9c36e4d55de478e180cd81845989ddd80eda (patch) | |
tree | 7acc75719223e74e08c23d7071d1376013928859 /hello/Cargo.nix | |
parent | 040ec873821d23e168a59b7ee21697fe0af5bb4c (diff) | |
download | carnix-cross-master.tar.gz carnix-cross-master.tar.xz carnix-cross-master.zip |
Diffstat (limited to 'hello/Cargo.nix')
-rw-r--r-- | hello/Cargo.nix | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/hello/Cargo.nix b/hello/Cargo.nix index 4db6737..c881da6 100644 --- a/hello/Cargo.nix +++ b/hello/Cargo.nix @@ -10,10 +10,22 @@ let crates = cratesIO // rec { version = "0.1.0"; authors = [ "till" ]; src = ./.; + dependencies = mapFeatures features ([ + (cratesIO.crates."serde"."${deps."hello"."0.1.0"."serde"}" deps) + (cratesIO.crates."serde_derive"."${deps."hello"."0.1.0"."serde_derive"}" deps) + (cratesIO.crates."serde_json"."${deps."hello"."0.1.0"."serde_json"}" deps) + ]); }; features_.hello."0.1.0" = deps: f: updateFeatures f (rec { hello."0.1.0".default = (f.hello."0.1.0".default or true); - }) []; + serde."${deps.hello."0.1.0".serde}".default = true; + serde_derive."${deps.hello."0.1.0".serde_derive}".default = true; + serde_json."${deps.hello."0.1.0".serde_json}".default = true; + }) [ + (cratesIO.features_.serde."${deps."hello"."0.1.0"."serde"}" deps) + (cratesIO.features_.serde_derive."${deps."hello"."0.1.0"."serde_derive"}" deps) + (cratesIO.features_.serde_json."${deps."hello"."0.1.0"."serde_json"}" deps) + ]; @@ -22,5 +34,34 @@ let crates = cratesIO // rec { rec { hello = crates.crates.hello."0.1.0" deps; __all = [ (hello {}) ]; - deps.hello."0.1.0" = {}; + deps.hello."0.1.0" = { + serde = "1.0.79"; + serde_derive = "1.0.79"; + serde_json = "1.0.30"; + }; + deps.itoa."0.4.3" = {}; + deps.proc_macro2."0.4.19" = { + unicode_xid = "0.1.0"; + }; + deps.quote."0.6.8" = { + proc_macro2 = "0.4.19"; + }; + deps.ryu."0.2.6" = {}; + deps.serde."1.0.79" = {}; + deps.serde_derive."1.0.79" = { + proc_macro2 = "0.4.19"; + quote = "0.6.8"; + syn = "0.15.6"; + }; + deps.serde_json."1.0.30" = { + itoa = "0.4.3"; + ryu = "0.2.6"; + serde = "1.0.79"; + }; + deps.syn."0.15.6" = { + proc_macro2 = "0.4.19"; + quote = "0.6.8"; + unicode_xid = "0.1.0"; + }; + deps.unicode_xid."0.1.0" = {}; } |