rust/lib-hedgewars-engine/Cargo.toml
author sheepluva
Mon, 05 Aug 2019 00:20:45 +0200
changeset 15295 f382ec6dba11
parent 15284 ae8e14d14596
child 15891 d52f5d8e75e6
permissions -rw-r--r--
In hindsight my emscripten-ifdef (70d416a8f63f) is nonsense. As fpcrtl_glShaderSource() would not be defined and lead to compiling issues. So either it's 3 ifdefs (in pas2cRedo, pas2cSystem and misc.c), in order to toggle between fpcrtl_ and the native function, or alternatively have no ifdef for it at all. I'm going with none at all, which means emscripten will compile with the original (const) function prototype, being wrapped by the fpcrtl_ function, same as non-emscripten builds.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14143
745c73e0e644 Start working on frontend to rust engine rewrite
unC0Rr
parents:
diff changeset
     1
[package]
14166
7d3b94cdc3c4 - Move hedgewars-engine into lib-hedgewars-engine
unc0rr
parents: 14153
diff changeset
     2
name = "lib-hedgewars-engine"
14143
745c73e0e644 Start working on frontend to rust engine rewrite
unC0Rr
parents:
diff changeset
     3
version = "0.1.0"
745c73e0e644 Start working on frontend to rust engine rewrite
unC0Rr
parents:
diff changeset
     4
authors = ["Andrey Korotaev <a.korotaev@hedgewars.org>"]
14207
bb2f301d4fe0 2018ize everything
alfadur
parents: 14188
diff changeset
     5
edition = "2018"
14143
745c73e0e644 Start working on frontend to rust engine rewrite
unC0Rr
parents:
diff changeset
     6
745c73e0e644 Start working on frontend to rust engine rewrite
unC0Rr
parents:
diff changeset
     7
[dependencies]
14702
29dbe9ce8b7d add basic map rendering with gl
fkaa
parents: 14295
diff changeset
     8
gl = "0.11"
14255
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents: 14207
diff changeset
     9
netbuf = "0.4"
14726
75ff5c643004 actually atlas tests were also broken
alfadur
parents: 14722
diff changeset
    10
itertools = "0.8"
15190
e2adb40c7988 fill the atlas with sprites
alfadur
parents: 14726
diff changeset
    11
png = "0.13"
14188
3b83ec44e10b pass hwrunner gl context into engine
alfadur
parents: 14166
diff changeset
    12
14295
fd8e0e52d5bd add hwphysics to engine
alfadur
parents: 14255
diff changeset
    13
fpnum = { path = "../fpnum" }
14143
745c73e0e644 Start working on frontend to rust engine rewrite
unC0Rr
parents:
diff changeset
    14
land2d = { path = "../land2d" }
14153
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    15
lfprng = { path = "../lfprng" }
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    16
integral-geometry = { path = "../integral-geometry" }
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    17
landgen = { path = "../landgen" }
14255
a239e4243cf9 Start outlining ipc subsystem
unC0Rr
parents: 14207
diff changeset
    18
hedgewars-engine-messages = { path = "../hedgewars-engine-messages" }
14295
fd8e0e52d5bd add hwphysics to engine
alfadur
parents: 14255
diff changeset
    19
hwphysics = { path = "../hwphysics" }
14702
29dbe9ce8b7d add basic map rendering with gl
fkaa
parents: 14295
diff changeset
    20
mapgen = { path = "../mapgen" }
29dbe9ce8b7d add basic map rendering with gl
fkaa
parents: 14295
diff changeset
    21
vec2d = { path = "../vec2d" }
14153
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    22
14722
c97faf0aef78 proptest atlas, find 🐛🐜🦋
alfadur
parents: 14706
diff changeset
    23
[dev-dependencies]
c97faf0aef78 proptest atlas, find 🐛🐜🦋
alfadur
parents: 14706
diff changeset
    24
proptest = "0.9.2"
c97faf0aef78 proptest atlas, find 🐛🐜🦋
alfadur
parents: 14706
diff changeset
    25
14153
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    26
[lib]
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    27
name = "hedgewars_engine"
b273b43b16d2 Make hedgewars-engine crate produce shared library, implement some basics
unC0Rr
parents: 14143
diff changeset
    28
crate-type = ["dylib"]