Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
odem-rs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dorian Weber
odem-rs
Commits
1b2a288e
Commit
1b2a288e
authored
1 month ago
by
Dorian Weber
Browse files
Options
Downloads
Patches
Plain Diff
Removed the `main.rs` from the odem-rs library crate.
parent
07721c32
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
odem-rs/src/main.rs
+0
-24
0 additions, 24 deletions
odem-rs/src/main.rs
with
0 additions
and
24 deletions
odem-rs/src/main.rs
deleted
100644 → 0
+
0
−
24
View file @
07721c32
#![allow(dead_code,
unused_imports,
internal_features)]
use
core
::{
cell
::
Cell
,
pin
::
pin
};
use
odem_rs
::
prelude
::
*
;
use
tracing
::{
debug
,
info
,
Level
};
async
fn
sim_main
(
sim
:
&
Sim
)
->
f64
{
debug!
(
"begin"
);
debug!
(
"end"
);
sim
.now
()
}
fn
main
()
{
tracing_subscriber
::
fmt
()
.with_max_level
(
Level
::
DEBUG
)
.with_target
(
false
)
.with_timer
(
model_time!
(
"[{time:#.1}]"
))
.init
();
let
result
=
Simulator
::
default
()
.run
(
sim_main
);
println!
(
"model_time: {}"
,
result
.unwrap
()
.display
());
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment