forked from unlimitedbacon/stl-thumb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (52 loc) · 1.68 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
[package]
name = "stl-thumb"
version = "0.4.0"
authors = ["Tyler Anderson <[email protected]>"]
description = "A fast lightweight thumbnail generator for STL files"
readme = "README.md"
repository = "https://github.com/unlimitedbacon/stl-thumb"
license = "MIT"
[lib]
name = "stl_thumb"
path = "src/lib.rs"
crate-type = ["lib", "cdylib", "staticlib"]
[[bin]]
name = "stl-thumb"
path = "src/main.rs"
[badges]
travis-ci = { repository = "unlimitedbacon/stl-thumb" }
[dependencies]
cgmath = { version = "0.16.1", features = ["mint"] }
clap = "2.31.2"
glium = "0.30.1"
image = "0.19.0"
libc = "0.2"
log = "0.4.1"
mint = "0.5.0"
stderrlog = "0.4.0"
stl_io = "0.3.7"
[build-dependencies]
cbindgen = "0.18.*"
[dev-dependencies]
criterion = "0.2"
[[bench]]
name = "cube_benchmark"
harness = false
[package.metadata.deb]
license-file = ["LICENSE", "3"]
depends = "libgl1, libc6, libgcc1, libosmesa6-dev"
extended-description = """\
Stl-thumb is a fast lightweight thumbnail generator for STL files. \
It can show previews for STL files in your file manager on Linux and Windows. \
It is written in Rust and uses OpenGL. """
section = "graphics"
priority = "optional"
assets = [
["target/release/stl-thumb", "usr/bin/", "755"],
["target/release/libstl_thumb.so", "usr/lib/", "755"],
["target/release/libstl_thumb.a", "usr/lib/", "644"],
["stl-thumb.thumbnailer", "usr/share/thumbnailers/", "644"],
["stl-thumb-mime.xml", "usr/share/mime/packages/", "644"],
["libstl_thumb.h", "usr/include/", "644"],
["README.md", "usr/share/doc/stl-thumb/", "644"],
]