chore(licensing): add REUSE license headers to `**.{rs,md,toml}` files

I ran the following command in Fish shell:

```
reuse annotate --skip-unrecognised --copyright="Topola contributors" --license="MIT" **.{rs,md,toml}
```

The choice of year 2024 in the copyright statements is intentional.
This commit is contained in:
Mikolaj Wielgus 2024-12-29 18:04:46 +01:00
parent d8082f05b0
commit 44c30caafe
105 changed files with 445 additions and 7 deletions

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 Topola contributors
SPDX-License-Identifier: MIT
-->
# Contributing to Topola
*Anyone* can contribute to Topola, including you.

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Topola contributors
#
# SPDX-License-Identifier: MIT
[workspace]
members = [".", "crates/*", "crates/*/fuzz"]
resolver = "2"

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 Topola contributors
SPDX-License-Identifier: MIT
-->
# Installing Topola
## Building and installing Topola from source

18
LICENSES/MIT.txt Normal file
View File

@ -0,0 +1,18 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 Topola contributors
SPDX-License-Identifier: MIT
-->
# Topola
[Topola](https://topola.dev) is a work-in-progress interactive

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Topola contributors
#
# SPDX-License-Identifier: MIT
[package]
name = "specctra-core"
version = "0.1.0"

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Topola contributors
#
# SPDX-License-Identifier: MIT
[package]
name = "specctra-core-fuzz"
version = "0.0.0"

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 Topola contributors
SPDX-License-Identifier: MIT
-->
# Fuzzer for `specctra-core`
This fuzzer uses [`cargo-fuzz`](https://rust-fuzz.github.io/book/cargo-fuzz/tutorial.html).

View File

@ -1,5 +1,9 @@
#![no_main]
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &str| {

View File

@ -1,5 +1,9 @@
#![no_main]
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use libfuzzer_sys::fuzz_target;
fuzz_target!(|data: &str| {

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use thiserror::Error;
#[derive(Error, Debug)]

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Module about handling the Specctra based file format, and parsing + serializing it
pub mod error;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use core::ops::Sub;
use geo_types::geometry::Point;
use serde::{Deserialize, Serialize};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Module for handling Specctra's mesadata - design rules, as well as layers
//! or net properties

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use super::error::{ParseError, ParseErrorContext};
use super::structure::Parser;
use super::ListToken;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
pub trait GetConditions {
fn conditions(&self) -> Conditions;
}

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use super::read::{ListTokenizer, ReadDsn};
use super::write::ListWriter;
use super::write::WriteSes;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use super::ListToken;
use std::io;

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Topola contributors
#
# SPDX-License-Identifier: MIT
[package]
name = "specctra_derive"
version = "0.1.0"

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use proc_macro::TokenStream;
use syn::punctuated::Punctuated;
use syn::{Attribute, DeriveInput, LitStr, Meta, Token};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use proc_macro2::TokenStream;
use quote::quote;
use syn::ext::IdentExt;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use proc_macro2::TokenStream;
use quote::quote;
use syn::ext::IdentExt;

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Topola contributors
#
# SPDX-License-Identifier: MIT
[package]
name = "topola-cli"
description = "Work-in-progress free and open-source topological (rubberband) router and autorouter for printed circuit boards (PCBs)"

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
include!("src/cli.rs");
use clap::CommandFactory;
use clap_mangen::Man;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use clap::Parser;
use std::path::PathBuf;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use clap::Parser;
use std::fs::File;
use std::io::BufReader;

View File

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 Topola contributors
#
# SPDX-License-Identifier: MIT
[package]
name = "topola-egui"
description = "Work-in-progress free and open-source topological (rubberband) router and autorouter for printed circuit boards (PCBs)"

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
pub struct Action {
name: String,
shortcut: egui::KeyboardShortcut,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use crate::{
action::{Action, Switch, Trigger},
translator::Translator,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::point;
use std::{
future::Future,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use topola::board::{mesadata::AccessMesadata, Board};
pub struct AppearancePanel {

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::collections::HashMap;
#[derive(Clone, Debug, PartialEq, serde::Deserialize, serde::Serialize)]

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! dialog for error messages (e.g. for displaying file parser errors)
use crate::translator::Translator;

View File

@ -1,5 +1,9 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
mod action;
mod actions;
mod app;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::{borrow::Cow, ops::ControlFlow, path::Path, sync::mpsc::Sender};
use topola::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::Point;
use rstar::AABB;
use spade::InsertionError;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::{CoordsIter, Point, Polygon};
use rstar::AABB;
use topola::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use topola::interactor::activity::ActivityStepperWithStatus;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use derive_getters::Getters;
use fluent_templates::{static_loader, Loader};
use serde::{Deserialize, Serialize};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::point;
use petgraph::{
data::DataMap,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::{
ops::ControlFlow,
sync::mpsc::{channel, Receiver, Sender},

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::fs::File;
use std::io::BufReader;
use topola::autorouter::invoker::Invoker;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Manages autorouting of ratlines in a layout, tracking status and processed
//! routing steps.

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use derive_getters::Getters;
use geo::Point;
use petgraph::graph::{EdgeIndex, NodeIndex};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Manages the comparison of detours between two ratlines, tracking their
//! routing statuses and recording their lengths.

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use enum_dispatch::enum_dispatch;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Manages command history operations, allowing for undoing and redoing commands.
//! Handles error scenarios related to command history, maintaining lists of executed
//! and undone commands for easy navigation.

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Manages the execution of routing commands within the autorouting system.
use std::{cmp::Ordering, ops::ControlFlow};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Provides functionality for measuring the total length of selected
//! bands in a PCB layout. It interacts with the autorouter to calculate and return
//! the length of specified band selections.

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Manages autorouting process, under work for now
pub mod autoroute;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Provides functionality for placing vias in a PCB layout, manages
//! the process of inserting a via with a specified weight and
//! checks if the via has already been placed.

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use geo::Point;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Defines data structures and methods for managing a graph
//! used in layout triangulation and routing tasks. It includes vertex and edge
//! structures for representing graph nodes and edges with associated metadata,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Provides functionality to remove bands from the layout.
use crate::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::collections::HashSet;
use serde::{Deserialize, Serialize};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Provides the functionality to create and manage relationships
//! between nodes, pins, and bands, as well as handle metadata and geometric data
//! for layout construction.

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
// FIXME (implement Hash for BandUid and such)
#![allow(clippy::derived_hash_with_manual_eq)]

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use crate::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use super::{
bend::LooseBendIndex,
dot::LooseDotIndex,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use crate::graph::{GenericIndex, GetPetgraphIndex, MakeRef};
use super::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use geo::Point;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use contracts_try::{debug_ensures, debug_invariant};
use derive_getters::Getters;
use enum_dispatch::enum_dispatch;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use petgraph::stable_graph::NodeIndex;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use petgraph::stable_graph::NodeIndex;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::Line;
use crate::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use crate::{geometry::shape::MeasureLength, graph::MakeRef};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use petgraph::stable_graph::NodeIndex;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
#[macro_use]
pub mod graph;
pub mod band;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use petgraph::stable_graph::NodeIndex;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use crate::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use crate::graph::{GenericIndex, GetPetgraphIndex};
pub trait ManageCompounds<CW: Copy, GI: GetPetgraphIndex + Copy> {

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::{collections::HashMap, hash::Hash, marker::PhantomData};
use crate::{

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::marker::PhantomData;
use derive_getters::Getters;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
#[macro_use]
mod geometry;
pub mod compound;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::algorithm::line_measures::{Euclidean, Length};
use geo::{Centroid, Contains, Point, Polygon};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::f64::consts::TAU;
use enum_dispatch::enum_dispatch;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::collections::hash_map::Entry as HashMapEntry;
use std::hash::Hash;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use enum_dispatch::enum_dispatch;
use geo::Point;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use contracts_try::debug_invariant;
use derive_getters::Getters;
use geo::Point;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::{
hash::{Hash, Hasher},
marker::PhantomData,

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use geo::Point;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use thiserror::Error;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use spade::InsertionError;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
pub mod activity;
pub mod interaction;
mod interactor;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use contracts_try::debug_ensures;
use derive_getters::Getters;
use enum_dispatch::enum_dispatch;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Layout module for handling board geometry.
mod layout;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Module for handling Polygon properties
use enum_dispatch::enum_dispatch;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Module for handling Vias properties
use serde::{Deserialize, Serialize};

View File

@ -1,5 +1,10 @@
#![doc(
html_favicon_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/favicon.ico"
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
html_favicon_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/favicon.ico"
)]
#![doc(
html_logo_url = "https://codeberg.org/topola/topola/raw/commit/e1b56875edf039aab9f41868826bcd3a92097133/assets/logo.svg"

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use geo::algorithm::line_measures::{Distance, Euclidean};
use geo::{geometry::Point, point, Line};
use thiserror::Error;

View File

@ -1,9 +1,8 @@
/**
*
* Copied and substantially modified from petgraph's scored.rs and algo/astar.rs.
*
* Copyright (c) 2015
**/
// Copyright (c) 2015
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::collections::hash_map::Entry::{Occupied, Vacant};
use std::collections::{BinaryHeap, HashMap, VecDeque};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use contracts_try::debug_ensures;
use geo::Point;
use thiserror::Error;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
pub mod astar;
pub mod draw;
pub mod navcord;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use contracts_try::debug_ensures;
use petgraph::data::DataMap;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use contracts_try::{debug_ensures, debug_requires};
use thiserror::Error;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::collections::HashMap;
use enum_dispatch::enum_dispatch;

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use std::ops::ControlFlow;
use derive_getters::{Dissolve, Getters};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
use derive_getters::Getters;
use geo::algorithm::line_measures::{Distance, Euclidean};
use petgraph::{data::DataMap, visit::EdgeRef};

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Module for managing the various Specctra PCB design, including loading the
//! Design DSN file, creating the [`Board`] object from the file, as well as
//! exporting the session file

View File

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 Topola contributors
//
// SPDX-License-Identifier: MIT
//! Module containing the informations about handling the Specctra
//! based file format, and parsing it into Topola's objects
#![forbid(unused_must_use)]

Some files were not shown because too many files have changed in this diff Show More