Benign rust 14 installs Download

org-eclipse-elk-alg-disco 0.12.0

“ELK DisCo connected components layout algorithm of the Eclipse Layout Kernel, ported to pure Rust”

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

Evidence

imports org_eclipse_elk_alg_disco::org::eclipse::elk::alg::disco::options::CompactionStrategy disco_metadata_test.rs · lines 1–48
1use org_eclipse_elk_alg_disco::org::eclipse::elk::alg::disco::options::{
2 CompactionStrategy, DisCoMetaDataProvider, DisCoOptions,
3};
4use org_eclipse_elk_core::org::eclipse::elk::core::data::{
5 LayoutMetaDataService, LayoutOptionTarget, LayoutOptionVisibility,
6};
7
8fn init_disco_options() {
9 let service = LayoutMetaDataService::get_instance();
10 service.register_layout_meta_data_provider(&DisCoMetaDataProvider);
11}
12
13#[test]
14fn disco_algorithm_registered() {
15 init_disco_options();
16
17 let algo = LayoutMetaDataService::get_instance()
18 .get_algorithm_data(DisCoOptions::ALGORITHM_ID)
19 .expect("disco algorithm");
20 assert_eq!(algo.name(), "ELK DisCo");
21}
22
⋯7 lines
30
31 assert_eq!(option.group(), "componentCompaction");
32 assert!(option.targets().contains(&LayoutOptionTarget::Parents));
33 assert_eq!(option.visibility(), LayoutOptionVisibility::Visible);
34
⋯14 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.