109 lines
1.9 KiB
TOML
109 lines
1.9 KiB
TOML
[package]
|
|
name = "dust-lang"
|
|
description = "Dust programming language library"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme.workspace = true
|
|
repository.workspace = true
|
|
version.workspace = true
|
|
|
|
[dependencies]
|
|
annotate-snippets = "0.11.4"
|
|
colored = "2.1.0"
|
|
rand = "0.8.5"
|
|
serde = { version = "1.0.203", features = ["derive", "rc"] }
|
|
serde_json = "1.0.117"
|
|
getrandom = { version = "0.2", features = [
|
|
"js",
|
|
] } # Indirect dependency, for WASM builds
|
|
smartstring = { version = "1.0.1", features = [
|
|
"serde",
|
|
], default-features = false }
|
|
tracing = "0.1.41"
|
|
crossbeam-channel = "0.5.14"
|
|
smallvec = { version = "1.13.2", features = ["serde", "const_generics"] }
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.3.4", features = ["html_reports"] }
|
|
|
|
[[bench]]
|
|
name = "addictive_addition"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "fibonacci"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "threads"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "add"
|
|
path = "tests/math/add.rs"
|
|
|
|
[[test]]
|
|
name = "subtract"
|
|
path = "tests/math/subtract.rs"
|
|
|
|
[[test]]
|
|
name = "multiply"
|
|
path = "tests/math/multiply.rs"
|
|
|
|
[[test]]
|
|
name = "divide"
|
|
path = "tests/math/divide.rs"
|
|
|
|
[[test]]
|
|
name = "modulo"
|
|
path = "tests/math/modulo.rs"
|
|
|
|
[[test]]
|
|
name = "less"
|
|
path = "tests/comparison/less.rs"
|
|
|
|
[[test]]
|
|
name = "equal"
|
|
path = "tests/comparison/equal.rs"
|
|
|
|
[[test]]
|
|
name = "less_equal"
|
|
path = "tests/comparison/less_equal.rs"
|
|
|
|
[[test]]
|
|
name = "greater"
|
|
path = "tests/comparison/greater.rs"
|
|
|
|
[[test]]
|
|
name = "not_equal"
|
|
path = "tests/comparison/not_equal.rs"
|
|
|
|
[[test]]
|
|
name = "greater_equal"
|
|
path = "tests/comparison/greater_equal.rs"
|
|
|
|
[[test]]
|
|
name = "and"
|
|
path = "tests/logic/and.rs"
|
|
|
|
[[test]]
|
|
name = "or"
|
|
path = "tests/logic/or.rs"
|
|
|
|
[[test]]
|
|
name = "and_and"
|
|
path = "tests/logic/and_and.rs"
|
|
|
|
[[test]]
|
|
name = "or_or"
|
|
path = "tests/logic/or_or.rs"
|
|
|
|
[[test]]
|
|
name = "and_or"
|
|
path = "tests/logic/and_or.rs"
|
|
|
|
[[test]]
|
|
name = "or_and"
|
|
path = "tests/logic/or_and.rs"
|