This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Add a config file for managed crate repos." into main
- Loading branch information
Showing
12 changed files
with
236 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// This file is generated by cargo_embargo. | ||
// Do not modify this file after the first "rust_*" or "genrule" module | ||
// because the changes will be overridden on upgrade. | ||
// Content before the first "rust_*" or "genrule" module is preserved. | ||
|
||
package { | ||
default_team: "trendy_team_android_rust", | ||
default_applicable_licenses: ["Android-Apache-2.0"], | ||
} | ||
|
||
rust_library_host { | ||
name: "librepo_config", | ||
crate_name: "repo_config", | ||
cargo_env_compat: true, | ||
cargo_pkg_version: "0.1.0", | ||
crate_root: "src/lib.rs", | ||
edition: "2021", | ||
rustlibs: [ | ||
"libserde", | ||
"libthiserror", | ||
"libtoml", | ||
], | ||
} | ||
|
||
rust_test_host { | ||
name: "repo_config_test_src_lib", | ||
crate_name: "repo_config", | ||
cargo_env_compat: true, | ||
cargo_pkg_version: "0.1.0", | ||
crate_root: "src/lib.rs", | ||
test_suites: ["general-tests"], | ||
auto_gen_config: true, | ||
test_options: { | ||
unit_test: true, | ||
}, | ||
edition: "2021", | ||
rustlibs: [ | ||
"libserde", | ||
"libtempfile", | ||
"libthiserror", | ||
"libtoml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "repo_config" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
serde = { version = "=1.0.210", features = ["derive"] } | ||
toml = "0.8" | ||
thiserror = "1.0" | ||
|
||
[dev-dependencies] | ||
tempfile = "3" |
Oops, something went wrong.