diff --git a/Cargo.Bazel.lock b/Cargo.Bazel.lock index cd2b4bd..fec8c9c 100644 --- a/Cargo.Bazel.lock +++ b/Cargo.Bazel.lock @@ -1,5 +1,5 @@ { - "checksum": "f1096e613f0cb825952f38e6ed0729b38315feabb4389218b7c6f5025604ae44", + "checksum": "cd37f256dea20816980b062281ee0c69e2e02e86deb68d275077ef7158098c86", "crates": { "autocfg 1.1.0": { "name": "autocfg", @@ -228,6 +228,65 @@ }, "license": "MIT OR Apache-2.0" }, + "diesel_migrations 2.0.0-rc.0": { + "name": "diesel_migrations", + "version": "2.0.0-rc.0", + "repository": { + "Http": { + "url": "https://crates.io/api/v1/crates/diesel_migrations/2.0.0-rc.0/download", + "sha256": "e2edcb7e9cff76af48e7fa33cc4680acc7df19e58a4a4aaed3e2b67fb83bc06d" + } + }, + "targets": [ + { + "Library": { + "crate_name": "diesel_migrations", + "crate_root": "src/lib.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + } + ], + "library_target_name": "diesel_migrations", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": [ + "default", + "sqlite" + ], + "deps": { + "common": [ + { + "id": "diesel 2.0.0-rc.0", + "target": "diesel" + }, + { + "id": "migrations_internals 2.0.0-rc.0", + "target": "migrations_internals" + } + ], + "selects": {} + }, + "edition": "2018", + "proc_macro_deps": { + "common": [ + { + "id": "migrations_macros 2.0.0-rc.0", + "target": "migrations_macros" + } + ], + "selects": {} + }, + "version": "2.0.0-rc.0" + }, + "license": "MIT OR Apache-2.0" + }, "direct-cargo-bazel-deps 0.0.1": { "name": "direct-cargo-bazel-deps", "version": "0.0.1", @@ -260,6 +319,10 @@ { "id": "diesel 2.0.0-rc.0", "target": "diesel" + }, + { + "id": "diesel_migrations 2.0.0-rc.0", + "target": "diesel_migrations" } ], "selects": {} @@ -412,6 +475,105 @@ }, "license": "MIT" }, + "migrations_internals 2.0.0-rc.0": { + "name": "migrations_internals", + "version": "2.0.0-rc.0", + "repository": { + "Http": { + "url": "https://crates.io/api/v1/crates/migrations_internals/2.0.0-rc.0/download", + "sha256": "61e2226081f9176165a49b006a0729de8cafa749615b349e15c444dbd39e4d9d" + } + }, + "targets": [ + { + "Library": { + "crate_name": "migrations_internals", + "crate_root": "src/lib.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + } + ], + "library_target_name": "migrations_internals", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "deps": { + "common": [ + { + "id": "serde 1.0.137", + "target": "serde" + }, + { + "id": "toml 0.5.9", + "target": "toml" + } + ], + "selects": {} + }, + "edition": "2015", + "version": "2.0.0-rc.0" + }, + "license": "MIT OR Apache-2.0" + }, + "migrations_macros 2.0.0-rc.0": { + "name": "migrations_macros", + "version": "2.0.0-rc.0", + "repository": { + "Http": { + "url": "https://crates.io/api/v1/crates/migrations_macros/2.0.0-rc.0/download", + "sha256": "37dbadac6f186c134552cd9a0ec14b157cf4f04eacacebd5e6c1bfc6aeb158b3" + } + }, + "targets": [ + { + "ProcMacro": { + "crate_name": "migrations_macros", + "crate_root": "src/lib.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + } + ], + "library_target_name": "migrations_macros", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": [ + "default" + ], + "deps": { + "common": [ + { + "id": "migrations_internals 2.0.0-rc.0", + "target": "migrations_internals" + }, + { + "id": "proc-macro2 1.0.39", + "target": "proc_macro2" + }, + { + "id": "quote 1.0.18", + "target": "quote" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "2.0.0-rc.0" + }, + "license": "MIT OR Apache-2.0" + }, "num-integer 0.1.45": { "name": "num-integer", "version": "0.1.45", @@ -868,6 +1030,154 @@ }, "license": "MIT OR Apache-2.0" }, + "serde 1.0.137": { + "name": "serde", + "version": "1.0.137", + "repository": { + "Http": { + "url": "https://crates.io/api/v1/crates/serde/1.0.137/download", + "sha256": "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1" + } + }, + "targets": [ + { + "Library": { + "crate_name": "serde", + "crate_root": "src/lib.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + } + ], + "library_target_name": "serde", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": [ + "default", + "derive", + "serde_derive", + "std" + ], + "deps": { + "common": [ + { + "id": "serde 1.0.137", + "target": "build_script_build" + } + ], + "selects": {} + }, + "edition": "2015", + "proc_macro_deps": { + "common": [ + { + "id": "serde_derive 1.0.137", + "target": "serde_derive" + } + ], + "selects": {} + }, + "version": "1.0.137" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, + "serde_derive 1.0.137": { + "name": "serde_derive", + "version": "1.0.137", + "repository": { + "Http": { + "url": "https://crates.io/api/v1/crates/serde_derive/1.0.137/download", + "sha256": "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be" + } + }, + "targets": [ + { + "ProcMacro": { + "crate_name": "serde_derive", + "crate_root": "src/lib.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + }, + { + "BuildScript": { + "crate_name": "build_script_build", + "crate_root": "build.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + } + ], + "library_target_name": "serde_derive", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": [ + "default" + ], + "deps": { + "common": [ + { + "id": "proc-macro2 1.0.39", + "target": "proc_macro2" + }, + { + "id": "quote 1.0.18", + "target": "quote" + }, + { + "id": "serde_derive 1.0.137", + "target": "build_script_build" + }, + { + "id": "syn 1.0.96", + "target": "syn" + } + ], + "selects": {} + }, + "edition": "2015", + "version": "1.0.137" + }, + "build_script_attrs": { + "data_glob": [ + "**" + ] + }, + "license": "MIT OR Apache-2.0" + }, "syn 1.0.96": { "name": "syn", "version": "1.0.96", @@ -1004,6 +1314,51 @@ }, "license": "MIT/Apache-2.0" }, + "toml 0.5.9": { + "name": "toml", + "version": "0.5.9", + "repository": { + "Http": { + "url": "https://crates.io/api/v1/crates/toml/0.5.9/download", + "sha256": "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" + } + }, + "targets": [ + { + "Library": { + "crate_name": "toml", + "crate_root": "src/lib.rs", + "srcs": { + "include": [ + "**/*.rs" + ], + "exclude": [] + } + } + } + ], + "library_target_name": "toml", + "common_attrs": { + "compile_data_glob": [ + "**" + ], + "crate_features": [ + "default" + ], + "deps": { + "common": [ + { + "id": "serde 1.0.137", + "target": "serde" + } + ], + "selects": {} + }, + "edition": "2018", + "version": "0.5.9" + }, + "license": "MIT/Apache-2.0" + }, "unicode-ident 1.0.1": { "name": "unicode-ident", "version": "1.0.1", diff --git a/asphr_load5.bzl b/asphr_load5.bzl index 2026309..9ac8469 100644 --- a/asphr_load5.bzl +++ b/asphr_load5.bzl @@ -18,17 +18,21 @@ def load_asphr_repos5(asphr_path): packages = { "diesel": crate.spec( version = "2.0.0-rc.0", - features = ["sqlite", "chrono", "returning_clauses_for_sqlite_3_35"] + features = ["sqlite", "chrono", "returning_clauses_for_sqlite_3_35"], ), "chrono": crate.spec( version = "0.4.19", ), + "diesel_migrations": crate.spec( + version = "2.0.0-rc.0", + features = ["sqlite"], + ), }, # Setting the default package name to `""` forces the use of the macros defined in this repository # to always use the root package when looking for dependencies or aliases. This should be considered # optional as the repository also exposes aliases for easy access to all dependencies. render_config = render_config( - default_package_name = "" + default_package_name = "", ), )