Skip to content
Snippets Groups Projects
Commit 5b1da6a0 authored by Udo Eisenbarth's avatar Udo Eisenbarth :speech_balloon:
Browse files

Add very basic structure for opticscenery

parent 3931e662
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,47 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "autocfg"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "fixedbitset"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]]
name = "indexmap"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
"autocfg",
"hashbrown",
]
[[package]]
name = "opossum"
version = "0.1.0"
dependencies = [
"petgraph",
]
[[package]]
name = "petgraph"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4"
dependencies = [
"fixedbitset",
"indexmap",
]
......@@ -11,3 +11,4 @@ categories = [ "science", "simulation"]
publish = false
[dependencies]
petgraph = "0.6.3" # the graph library
\ No newline at end of file
use opossum::opticscenery::*;
fn main() {
println!("opticscenery example");
println!("default opticscenery: {:?}",Opticscenery::default());
}
pub mod opticscenery;
\ No newline at end of file
use petgraph::prelude::DiGraph;
#[derive(Default, Debug)]
pub struct Opticscenery {
g: DiGraph<i32,()>
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment