Mercurial > tablet-emu
annotate Cargo.toml @ 19:ba09079686a0
Add support for different endianness between client and server.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 26 Aug 2021 23:43:36 +0200 |
parents | 3f7b7a3ad8fe |
children | f81d56c5da76 |
rev | line source |
---|---|
0 | 1 [package] |
2 name = "tablet-emu" | |
3 version = "0.1.0" | |
4 authors = ["Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>"] | |
5 edition = "2018" | |
6
dd10331549c6
Add a license file.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
6 license = "AGPL-3.0-or-later" |
dd10331549c6
Add a license file.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
7 description = "Tablet emulator, for people who don’t own one" |
0 | 8 |
9 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
10 | |
14
adab13145994
Add support for remote clients.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
6
diff
changeset
|
11 [features] |
adab13145994
Add support for remote clients.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
6
diff
changeset
|
12 default = ["gui"] |
adab13145994
Add support for remote clients.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
6
diff
changeset
|
13 |
adab13145994
Add support for remote clients.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
6
diff
changeset
|
14 gui = ["cairo-rs", "gdk", "gio", "glib", "gtk"] |
adab13145994
Add support for remote clients.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
6
diff
changeset
|
15 |
0 | 16 [dependencies] |
17 input-linux = "0.3.0" | |
14
adab13145994
Add support for remote clients.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
6
diff
changeset
|
18 bitflags = "1.2.1" |
19
ba09079686a0
Add support for different endianness between client and server.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
18
diff
changeset
|
19 serde = { version = "1.0", features = ["derive"] } |
ba09079686a0
Add support for different endianness between client and server.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
18
diff
changeset
|
20 bincode = "1.3" |
15
d103f7cca0bd
Update to GTK 4.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
14
diff
changeset
|
21 cairo-rs = { version = "0.14", optional = true } |
d103f7cca0bd
Update to GTK 4.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
14
diff
changeset
|
22 gdk = { version = "0.14", optional = true } |
d103f7cca0bd
Update to GTK 4.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
14
diff
changeset
|
23 gio = { version = "0.14", optional = true } |
d103f7cca0bd
Update to GTK 4.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
14
diff
changeset
|
24 glib = { version = "0.14", optional = true } |
d103f7cca0bd
Update to GTK 4.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
14
diff
changeset
|
25 gtk = { package = "gtk4", version = "0.2", optional = true } |
0 | 26 |
27 [profile.release] | |
28 lto = true | |
18
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
29 |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
30 [[bin]] |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
31 name = "tablet-emu" |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
32 path = "src/bin/standalone.rs" |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
33 |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
34 [[bin]] |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
35 name = "tablet-emud" |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
36 path = "src/bin/server.rs" |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
37 |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
38 [[bin]] |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
39 name = "tablet-emu-remote" |
3f7b7a3ad8fe
Build three binaries instead of using arguments.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
15
diff
changeset
|
40 path = "src/bin/client.rs" |