-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (32 loc) · 1.11 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[workspace]
members = ["./crates/litesim_macros", "./crates/litesim_models"]
default-members = ["./crates/litesim_macros", "./crates/litesim_models"]
[package]
name = "litesim"
description = "A discrete event simulation library"
author = "Tin Švagelj <[email protected]>"
version = "0.0.1"
edition = "2021"
license = "MIT OR Apache-2.0 OR zlib"
keywords = ["discrete", "event", "simulation"]
[dependencies]
serde = { version = "1.0", features = ["derive"], optional = true }
rand_core = { version = "0.6", optional = true }
rand = { version = "0.8", optional = true }
float-ord = { version = "0.3", optional = true }
chrono = { version = "0.4", optional = true, features = ["serde"] }
litesim-macros = { path = "./crates/litesim_macros" }
log = "0.4"
thiserror = "1.0"
[features]
default = ["time_f32", "serde", "rand"]
serde = ["dep:serde"]
rand = ["dep:rand_core", "dep:rand"]
time_f32 = ["dep:float-ord"]
time_f64 = ["dep:float-ord"]
time_chrono = ["dep:chrono"]
[dev-dependencies]
log = "0.4"
env_logger = "0.10"
litesim-models = { path = "./crates/litesim_models" }
serde = { version = "1.0", features = ["derive"] }