2022-09-05 02:22:56 +08:00
|
|
|
[workspace]
|
2023-11-19 23:35:03 +08:00
|
|
|
# Try
|
2023-02-21 21:35:24 +08:00
|
|
|
# require version 2 to avoid "feature" additiveness for dev-dependencies
|
|
|
|
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
|
|
|
|
resolver = "2"
|
|
|
|
|
2022-09-05 02:22:56 +08:00
|
|
|
members = [
|
2023-10-05 22:29:13 +08:00
|
|
|
"burn",
|
|
|
|
"burn-autodiff",
|
2023-11-10 10:21:41 +08:00
|
|
|
"burn-fusion",
|
2023-10-23 22:00:39 +08:00
|
|
|
"burn-candle",
|
2023-10-05 22:29:13 +08:00
|
|
|
"burn-common",
|
|
|
|
"burn-compute",
|
|
|
|
"burn-core",
|
|
|
|
"burn-dataset",
|
|
|
|
"burn-derive",
|
|
|
|
"burn-import",
|
|
|
|
"burn-import/onnx-tests",
|
|
|
|
"burn-ndarray",
|
|
|
|
"burn-no-std-tests",
|
|
|
|
"burn-tch",
|
|
|
|
"burn-wgpu",
|
|
|
|
"burn-candle",
|
|
|
|
"burn-tensor-testgen",
|
|
|
|
"burn-tensor",
|
|
|
|
"burn-train",
|
|
|
|
"xtask",
|
|
|
|
"examples/*",
|
|
|
|
"backend-comparison",
|
2022-09-05 02:22:56 +08:00
|
|
|
]
|
2023-02-25 22:38:01 +08:00
|
|
|
|
2023-09-19 07:56:53 +08:00
|
|
|
exclude = ["examples/notebook"]
|
2023-08-17 06:17:12 +08:00
|
|
|
|
2023-02-25 22:38:01 +08:00
|
|
|
[workspace.dependencies]
|
2023-11-21 22:28:56 +08:00
|
|
|
async-trait = "0.1.74"
|
2023-10-10 02:29:44 +08:00
|
|
|
bytemuck = "1.14"
|
2023-11-21 22:28:56 +08:00
|
|
|
const-random = "0.1.17"
|
2023-10-10 02:29:44 +08:00
|
|
|
csv = "1.3.0"
|
|
|
|
dashmap = "5.5.3"
|
2023-05-21 21:07:39 +08:00
|
|
|
dirs = "5.0.1"
|
2023-11-21 22:28:56 +08:00
|
|
|
fake = "2.9.1"
|
|
|
|
flate2 = "1.0.28"
|
2023-08-05 04:51:51 +08:00
|
|
|
float-cmp = "0.9.0"
|
2023-11-21 22:28:56 +08:00
|
|
|
getrandom = { version = "0.2.11", default-features = false }
|
2023-09-19 07:56:53 +08:00
|
|
|
gix-tempfile = { version = "8.0.0", features = ["signals"] }
|
2023-11-21 22:28:56 +08:00
|
|
|
hashbrown = "0.14.2"
|
2023-10-10 02:29:44 +08:00
|
|
|
indicatif = "0.17.7"
|
2023-11-21 22:28:56 +08:00
|
|
|
js-sys = "0.3.65"
|
2023-10-10 02:29:44 +08:00
|
|
|
libm = "0.2.8"
|
|
|
|
log = { default-features = false, version = "0.4.20" }
|
|
|
|
pretty_assertions = "1.4"
|
2023-11-21 22:28:56 +08:00
|
|
|
proc-macro2 = "1.0.69"
|
2023-10-10 02:29:44 +08:00
|
|
|
protobuf-codegen = "3.3"
|
|
|
|
quote = "1.0.33"
|
2023-05-21 02:24:55 +08:00
|
|
|
r2d2 = "0.8.10"
|
2023-11-15 08:03:07 +08:00
|
|
|
r2d2_sqlite = { version = "0.23.0" }
|
2023-10-10 02:29:44 +08:00
|
|
|
rayon = "1.8.0"
|
|
|
|
rmp-serde = "1.1.2"
|
|
|
|
rstest = "0.18.2"
|
2023-11-15 08:03:07 +08:00
|
|
|
rusqlite = { version = "0.30.0" }
|
2023-08-01 20:30:49 +08:00
|
|
|
sanitize-filename = "0.5.0"
|
2023-11-15 08:03:07 +08:00
|
|
|
serde_rusqlite = "0.34.0"
|
2023-11-21 22:28:56 +08:00
|
|
|
serde-wasm-bindgen = "0.6.1"
|
2023-09-19 07:56:53 +08:00
|
|
|
spin = { version = "0.9.8", features = ["mutex", "spin_mutex"] }
|
2023-10-05 22:29:13 +08:00
|
|
|
strum = "0.25.0"
|
2023-11-21 22:28:56 +08:00
|
|
|
strum_macros = "0.25.3"
|
2023-09-19 07:56:53 +08:00
|
|
|
syn = { version = "2.0", features = ["full", "extra-traits"] }
|
2023-11-21 22:28:56 +08:00
|
|
|
tempfile = "3.8.1"
|
|
|
|
thiserror = "1.0.50"
|
|
|
|
tracing-appender = "0.2.3"
|
|
|
|
tracing-core = "0.1.32"
|
|
|
|
tracing-subscriber = "0.3.18"
|
|
|
|
wasm-bindgen = "0.2.88"
|
|
|
|
wasm-bindgen-futures = "0.4.38"
|
2023-10-05 22:29:13 +08:00
|
|
|
wasm-logger = "0.2.0"
|
2023-11-21 22:28:56 +08:00
|
|
|
wasm-timer = "0.2.5"
|
|
|
|
|
2023-06-02 23:52:47 +08:00
|
|
|
|
|
|
|
# WGPU stuff
|
|
|
|
futures-intrusive = "0.5"
|
|
|
|
pollster = "0.3"
|
2023-09-19 07:56:53 +08:00
|
|
|
text_placeholder = { version = "0.5.0", features = ["struct_context"] }
|
2023-11-19 23:35:03 +08:00
|
|
|
wgpu = "0.18.0"
|
2023-06-15 23:59:37 +08:00
|
|
|
|
2023-02-25 22:38:01 +08:00
|
|
|
#
|
|
|
|
# The following packages disable the "std" feature for no_std compatibility
|
|
|
|
#
|
2023-09-19 07:56:53 +08:00
|
|
|
bincode = { version = "2.0.0-rc.3", features = [
|
2023-10-05 22:29:13 +08:00
|
|
|
"alloc",
|
|
|
|
"serde",
|
2023-09-19 07:56:53 +08:00
|
|
|
], default-features = false }
|
|
|
|
derive-new = { version = "0.5.9", default-features = false }
|
2023-10-05 22:29:13 +08:00
|
|
|
|
2023-09-19 07:56:53 +08:00
|
|
|
half = { version = "2.3.1", features = [
|
2023-10-05 22:29:13 +08:00
|
|
|
"alloc",
|
|
|
|
"num-traits",
|
|
|
|
"serde",
|
2023-09-19 07:56:53 +08:00
|
|
|
], default-features = false }
|
|
|
|
ndarray = { version = "0.15.6", default-features = false }
|
2023-11-21 22:28:56 +08:00
|
|
|
num-traits = { version = "0.2.17", default-features = false, features = [
|
2023-10-05 22:29:13 +08:00
|
|
|
"libm",
|
2023-09-19 07:56:53 +08:00
|
|
|
] } # libm is for no_std
|
|
|
|
rand = { version = "0.8.5", default-features = false, features = [
|
2023-10-05 22:29:13 +08:00
|
|
|
"std_rng",
|
2023-09-19 07:56:53 +08:00
|
|
|
] } # std_rng is for no_std
|
|
|
|
rand_distr = { version = "0.4.3", default-features = false }
|
2023-11-21 22:28:56 +08:00
|
|
|
serde = { version = "1.0.192", default-features = false, features = [
|
2023-10-05 22:29:13 +08:00
|
|
|
"derive",
|
|
|
|
"alloc",
|
2023-09-19 07:56:53 +08:00
|
|
|
] } # alloc is for no_std, derive is needed
|
2023-11-21 22:28:56 +08:00
|
|
|
serde_json = { version = "1.0.108", default-features = false }
|
|
|
|
uuid = { version = "1.5.0", default-features = false }
|
2023-09-30 03:13:16 +08:00
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
debug = 0 # Speed up compilation time and not necessary.
|