diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:44:58 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-15 21:44:58 +0000 |
commit | 5b2e4a9eca489b99052560add3e9fb6549f0edd9 (patch) | |
tree | 417fa70cd53947cd95218cc87dd667de937a8554 | |
parent | 83cdd561242a5ca93d14b2cade830d9e4e9f4196 (diff) | |
parent | 41e769a3574441f737aaefeab8103c22f00e8849 (diff) | |
download | plotters-backend-android12-mainline-tzdata3-release.tar.gz |
Snap for 8730993 from 41e769a3574441f737aaefeab8103c22f00e8849 to mainline-tzdata3-releaseaml_tz3_314012070aml_tz3_314012050aml_tz3_314012010aml_tz3_313110000aml_tz3_312511020aml_tz3_312511010aml_tz3_312410020aml_tz3_312410010android12-mainline-tzdata3-releaseaml_tz3_314012010
Change-Id: Iee5b62244ff3120c88a1d4f24b0e265260890eb4
-rw-r--r-- | .cargo_vcs_info.json | 2 | ||||
-rw-r--r-- | .github/dependabot.yml | 7 | ||||
-rw-r--r-- | Android.bp | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | Cargo.toml.orig | 2 | ||||
-rw-r--r-- | METADATA | 8 | ||||
-rw-r--r-- | TEST_MAPPING | 17 | ||||
-rw-r--r-- | cargo2android.json | 4 | ||||
-rw-r--r-- | src/rasterizer/line.rs | 2 |
9 files changed, 9 insertions, 39 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json index 46b53e4..4b0f3cd 100644 --- a/.cargo_vcs_info.json +++ b/.cargo_vcs_info.json @@ -1,5 +1,5 @@ { "git": { - "sha1": "def8d8b4033af35963bc9b11cdb444cf99f91b5a" + "sha1": "c6b06516c13c2ab01854908bab6e59c004725353" } } diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 5cde165..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,7 +0,0 @@ -version: 2 -updates: -- package-ecosystem: cargo - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 @@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo2android.py --run --device --dependencies. // Do not modify this file as changes will be overridden on upgrade. package { @@ -24,8 +24,6 @@ rust_library { name: "libplotters_backend", host_supported: true, crate_name: "plotters_backend", - cargo_env_compat: true, - cargo_pkg_version: "0.3.2", srcs: ["src/lib.rs"], edition: "2018", } @@ -13,7 +13,7 @@ [package] edition = "2018" name = "plotters-backend" -version = "0.3.2" +version = "0.3.0" authors = ["Hao Hou <haohou302@gmail.com>"] description = "Plotters Backend API" homepage = "https://plotters-rs.github.io" diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 0d27003..b2f0750 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,6 +1,6 @@ [package] name = "plotters-backend" -version = "0.3.2" +version = "0.3.0" authors = ["Hao Hou <haohou302@gmail.com>"] edition = "2018" license = "MIT" @@ -7,13 +7,13 @@ third_party { } url { type: ARCHIVE - value: "https://static.crates.io/crates/plotters-backend/plotters-backend-0.3.2.crate" + value: "https://static.crates.io/crates/plotters-backend/plotters-backend-0.3.0.crate" } - version: "0.3.2" + version: "0.3.0" license_type: NOTICE last_upgrade_date { year: 2021 - month: 8 - day: 9 + month: 4 + day: 1 } } diff --git a/TEST_MAPPING b/TEST_MAPPING deleted file mode 100644 index 3cbd48d..0000000 --- a/TEST_MAPPING +++ /dev/null @@ -1,17 +0,0 @@ -// Generated by update_crate_tests.py for tests that depend on this crate. -{ - "imports": [ - { - "path": "external/rust/crates/base64" - }, - { - "path": "external/rust/crates/tinytemplate" - }, - { - "path": "external/rust/crates/tinyvec" - }, - { - "path": "external/rust/crates/unicode-xid" - } - ] -} diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index bf78496..0000000 --- a/cargo2android.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "device": true, - "run": true -}
\ No newline at end of file diff --git a/src/rasterizer/line.rs b/src/rasterizer/line.rs index 7a646f4..0f24b0a 100644 --- a/src/rasterizer/line.rs +++ b/src/rasterizer/line.rs @@ -6,7 +6,7 @@ pub fn draw_line<DB: DrawingBackend, S: BackendStyle>( mut to: BackendCoord, style: &S, ) -> Result<(), DrawingErrorKind<DB::ErrorType>> { - if style.color().alpha == 0.0 || style.stroke_width() == 0 { + if style.color().alpha == 0.0 { return Ok(()); } |