-
Notifications
You must be signed in to change notification settings - Fork 54
/
Cargo.toml
79 lines (70 loc) · 1.93 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "urdf-viz"
version = "0.46.0"
authors = ["Takashi Ogura <[email protected]>"]
edition = "2021"
description = "URDF visualization"
license = "Apache-2.0"
keywords = ["robotics", "urdf", "visualization"]
categories = ["visualization"]
repository = "https://github.com/openrr/urdf-viz"
exclude = [".github/*", "img/*"]
[workspace]
members = ["examples/wasm"]
[features]
default = []
assimp = ["dep:assimp", "assimp-sys", "tempfile"]
# Note: k, kiss3d, serde, structopt, tokio, urdf-rs, and wasm-bindgen are public dependencies.
[dependencies]
crossbeam-queue = "0.3.5"
k = "0.32"
kiss3d = "0.35"
mesh-loader = "0.1.6"
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
structopt = "0.3"
thiserror = "2.0"
tracing = "0.1"
urdf-rs = "0.9"
assimp = { version = "0.3.1", optional = true }
assimp-sys = { version = "0.3.1", optional = true }
tempfile = { version = "3.8", optional = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
axum = "0.7"
ctrlc = { version = "3", features = ["termination"] }
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.6", features = ["trace"] }
tracing-subscriber = "0.3"
ureq = "2"
[target.'cfg(target_family = "wasm")'.dependencies]
base64 = "0.22"
getrandom = { version = "0.2", features = ["js"] }
js-sys = "0.3.31"
serde_json = "1"
serde_qs = "0.13"
url = "2"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = [
"Window",
"Location",
"Url",
"FileReader",
"Blob",
"File",
"Response",
"WebGlRenderingContext",
] }
[dev-dependencies]
serde_qs = "0.13"
url = "2"
[lints]
workspace = true
[workspace.lints.rust]
missing_debug_implementations = "warn"
# missing_docs = "warn" # TODO
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
unreachable_pub = "warn"
[workspace.lints.clippy]
lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12920