2024-03-20 08:42:13 +00:00
|
|
|
[package]
|
|
|
|
name = "dust-lang"
|
|
|
|
description = "Interpreter library for the Dust programming language"
|
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
readme.workspace = true
|
|
|
|
repository.workspace = true
|
2024-12-10 14:10:34 +00:00
|
|
|
version.workspace = true
|
2024-03-20 08:42:13 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-08-09 01:47:49 +00:00
|
|
|
annotate-snippets = "0.11.4"
|
2024-09-12 23:25:20 +00:00
|
|
|
colored = "2.1.0"
|
2024-08-12 08:10:07 +00:00
|
|
|
log = "0.4.22"
|
2024-03-20 08:42:13 +00:00
|
|
|
rand = "0.8.5"
|
2024-06-04 18:47:15 +00:00
|
|
|
serde = { version = "1.0.203", features = ["derive"] }
|
|
|
|
serde_json = "1.0.117"
|
2024-11-05 02:29:20 +00:00
|
|
|
getrandom = { version = "0.2", features = [
|
|
|
|
"js",
|
|
|
|
] } # Indirect dependency, for wasm builds
|
2024-12-04 05:04:56 +00:00
|
|
|
smallvec = { version = "1.13.2", features = ["serde"] }
|
2024-12-04 20:05:20 +00:00
|
|
|
smartstring = { version = "1.0.1", features = [
|
|
|
|
"serde",
|
|
|
|
], default-features = false }
|
2024-12-08 11:04:01 +00:00
|
|
|
bitflags = { version = "2.6.0", features = ["serde"] }
|
2024-12-11 06:22:40 +00:00
|
|
|
slab = "0.4.9"
|
2024-08-12 08:10:07 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-12-11 06:22:40 +00:00
|
|
|
criterion = { version = "0.3.4", features = ["html_reports"] }
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "addictive_addition"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "logic_and"
|
|
|
|
path = "tests/logic/and.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "logic_and_and"
|
|
|
|
path = "tests/logic/and_and.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "logic_or"
|
|
|
|
path = "tests/logic/or.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "logic_variables"
|
|
|
|
path = "tests/logic/variables.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_add"
|
|
|
|
path = "tests/math/add.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_add_assign"
|
|
|
|
path = "tests/math/add_assign.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_add_errors"
|
|
|
|
path = "tests/math/add_errors.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_divide"
|
|
|
|
path = "tests/math/divide.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_divide_assign"
|
|
|
|
path = "tests/math/divide_assign.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_divide_erros"
|
|
|
|
path = "tests/math/divide_errors.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_modulo"
|
|
|
|
path = "tests/math/modulo.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_modulo_assign"
|
|
|
|
path = "tests/math/modulo_assign.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_modulo_errors"
|
|
|
|
path = "tests/math/modulo_errors.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_multiply"
|
|
|
|
path = "tests/math/multiply.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_multiply_assign"
|
|
|
|
path = "tests/math/multiply_assign.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_multiply_errors"
|
|
|
|
path = "tests/math/multiply_errors.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_subtract"
|
|
|
|
path = "tests/math/subtract.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_subtract_assign"
|
|
|
|
path = "tests/math/subtract_assign.rs"
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "math_subtract_errors"
|
|
|
|
path = "tests/math/subtract_errors.rs"
|