2024-03-20 04:42:13 -04: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 09:10:34 -05:00
|
|
|
version.workspace = true
|
2024-03-20 04:42:13 -04:00
|
|
|
|
|
|
|
[dependencies]
|
2024-08-08 21:47:49 -04:00
|
|
|
annotate-snippets = "0.11.4"
|
2024-09-12 19:25:20 -04:00
|
|
|
colored = "2.1.0"
|
2024-03-20 04:42:13 -04:00
|
|
|
rand = "0.8.5"
|
2024-06-04 14:47:15 -04:00
|
|
|
serde = { version = "1.0.203", features = ["derive"] }
|
|
|
|
serde_json = "1.0.117"
|
2024-11-04 21:29:20 -05:00
|
|
|
getrandom = { version = "0.2", features = [
|
|
|
|
"js",
|
|
|
|
] } # Indirect dependency, for wasm builds
|
2024-12-17 03:22:44 -05:00
|
|
|
smallvec = { version = "1.13.2", features = ["const_generics", "serde"] }
|
2024-12-04 15:05:20 -05:00
|
|
|
smartstring = { version = "1.0.1", features = [
|
|
|
|
"serde",
|
|
|
|
], default-features = false }
|
2024-12-21 13:20:57 -05:00
|
|
|
tracing = "0.1.41"
|
2025-01-08 10:29:53 -05:00
|
|
|
typed-arena = "2.0.2"
|
2024-08-12 04:10:07 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-12-11 01:22:40 -05:00
|
|
|
criterion = { version = "0.3.4", features = ["html_reports"] }
|
2024-12-18 14:57:29 -05:00
|
|
|
smallvec = { version = "1.13.2", features = ["const_generics"] }
|
2024-12-11 01:22:40 -05:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "addictive_addition"
|
|
|
|
harness = false
|
|
|
|
|
2024-12-11 06:49:43 -05:00
|
|
|
[[bench]]
|
|
|
|
name = "fibonacci"
|
|
|
|
harness = false
|
|
|
|
|
2024-12-11 01:22:40 -05:00
|
|
|
[[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"
|