Benign rust 13 installs Download

org-eclipse-elk-alg-libavoid 0.12.0

“ELK Libavoid connector routing integration (metadata and options) of the Eclipse Layout Kernel, ported to pure Rust”

Basename is uppercase README.mdCaret or XOR expression text
SHA-256adfabce8f210ca0d7f856a4ae686c88a583977b1bdcfc07215908d88fcba3399
MaleculeMd(Pa₃)

Evidence

imports org_eclipse_elk_alg_libavoid::org::eclipse::elk::alg::libavoid::options::LibavoidMetaDataProvider libavoid_metadata_test.rs · lines 1–41
1use org_eclipse_elk_alg_libavoid::org::eclipse::elk::alg::libavoid::options::{
2 LibavoidMetaDataProvider, LibavoidOptions,
3};
4use org_eclipse_elk_core::org::eclipse::elk::core::data::{
5 LayoutMetaDataService, LayoutOptionTarget,
6};
7
8fn init_libavoid_options() {
9 let service = LayoutMetaDataService::get_instance();
10 service.register_layout_meta_data_provider(&LibavoidMetaDataProvider);
11}
12
13#[test]
14fn libavoid_algorithm_registered() {
15 init_libavoid_options();
16
17 let algo = LayoutMetaDataService::get_instance()
18 .get_algorithm_data(LibavoidOptions::ALGORITHM_ID)
19 .expect("libavoid algorithm");
20 assert_eq!(algo.name(), "Libavoid");
21 assert_eq!(
22 algo.category_id(),
⋯9 lines
32 .get_option_data(LibavoidOptions::SEGMENT_PENALTY.id())
33 .expect("segment penalty option");
34 assert!(option.targets().contains(&LayoutOptionTarget::Parents));
35
36 let default = option
⋯5 lines
English function-word token "the" LICENSE · lines 1–5
1Eclipse Public License - v 2.0
2
3THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
4PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF
5THE PROGRAM CONS …
English function-word token "and" LICENSE · lines 11–15
11:57… content
12 Distributed under this Agreement, and
13 b) in the case of each subsequent Contributor:
14 i) changes to the Program, and
15 ii) …
English function-word token "that" LICENSE · lines 17–19
17:52… gram originate from
18 and are Distributed by that particular Contributor. A Contribution
19 "originates" from a Contributor if it was added to …
SPDX license identifier LICENSE · lines 292–302
292:66… he Eclipse
293Public License v. 2.0 are satisfied: GPL-3.0 which is available at
294https://www.gnu.org/licenses/gpl-3.0-standalone.html.
295
296SPDX-License-Identifier: EPL-2.0 OR GPL-3.0-or-later
297
298Source Code
⋯4 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.