2015-09-07 16:11:00 -04:00
|
|
|
[package]
|
2019-01-11 23:41:19 -05:00
|
|
|
name = "stevenarella"
|
2015-09-07 16:11:00 -04:00
|
|
|
version = "0.0.1"
|
2019-01-11 23:41:19 -05:00
|
|
|
authors = [ "Thinkofdeath <thinkofdeath@spigotmc.org>", "iceiix <ice_ix@protonmail.ch>" ]
|
2021-12-24 12:32:56 -05:00
|
|
|
edition = "2021"
|
2022-10-30 18:31:24 -04:00
|
|
|
rust-version = "1.64.0"
|
2021-06-18 17:14:32 -04:00
|
|
|
resolver = "2"
|
2019-03-03 10:13:10 -05:00
|
|
|
description = "Multi-protocol multi-platform Minecraft-compatible client"
|
|
|
|
repository = "https://github.com/iceiix/stevenarella"
|
2019-05-29 11:13:38 -04:00
|
|
|
license = "MIT/Apache-2.0"
|
2015-09-07 16:11:00 -04:00
|
|
|
|
2021-01-18 22:05:29 -05:00
|
|
|
[package.metadata.bundle]
|
|
|
|
name = "Stevenarella"
|
|
|
|
identifier = "io.github.iceiix.stevenarella"
|
|
|
|
icon = ["resources/icon*.png"]
|
|
|
|
category = "Game"
|
|
|
|
osx_minimum_system_version = "10.14"
|
|
|
|
|
Add support for compiling WebAssembly wasm32-unknown-unknown target (#92)
Note this only is the first step in web support, although the project compiles, it doesn't run!
Merging now to avoid branch divergence, until dependencies can be updated for wasm support.
* Add instructions to build for wasm32-unknown-unknown with wasm-pack in www/
* Update to rust-clipboard fork to compile with emscripten
https://github.com/aweinstock314/rust-clipboard/pull/62
* Exclude reqwest dependency in wasm32
* Exclude compiling clipboard pasting on wasm32
* Exclude reqwest-using code from wasm32
* Install wasm target with rustup in Travis CI
* Update to collision 0.19.0
Fixes wasm incompatibility in deprecated rustc-serialize crate: https://github.com/rustgd/collision-rs/issues/106
error[E0046]: not all trait items implemented, missing: `encode`
--> github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:1358:1
* Increase travis_wait time even further, try 120 minutes
* Set RUST_BACKTRACE=1 in main
* Remove unused unneeded bzip2 features in zip crate
To fix wasm32-unknown-unknown target compile error:
error[E0432]: unresolved imports `libc::c_int`, `libc::c_uint`, `libc::c_void`, `libc::c_char`
--> src/github.com-1ecc6299db9ec823/bzip2-sys-0.1.7/lib.rs:5:12
|
5 | use libc::{c_int, c_uint, c_void, c_char};
| ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `c_char` in the root
| | | |
| | | no `c_void` in the root
| | no `c_uint` in the root
| no `c_int` in the root
* flate2 use Rust backend
* Add console_error_panic_hook module for wasm backtraces
* Build using wasm-pack, wasm-bindgen, run with wasm-app
* Update to miniz_oxide 0.2.1, remove patch for https://github.com/Frommi/miniz_oxide/issues/42
* Update to official clipboard crate since https://github.com/aweinstock314/rust-clipboard/pull/62 was merged, but git revision pending release
* Update to branch of glutin attempting to build for wasm
https://github.com/iceiix/glutin/pull/1
* Update winit dependency of glutin to git master
https://github.com/iceiix/winit/pull/2
* Update to glutin branch with working (compiles, doesn't run) wasm_stub
* Add app name in title on web page
* Add wasm to Travis-CI test matrix
* Update glutin to fix Windows EGL compilation on AppVeyor
https://github.com/iceiix/glutin/pull/1/commits/97797352b5242436cb82d8ecfb44242b69766e4c
2019-03-03 11:32:36 -05:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
2016-12-09 09:32:02 -05:00
|
|
|
[profile.dev]
|
2021-06-18 17:29:29 -04:00
|
|
|
split-debuginfo = "unpacked"
|
2016-12-09 09:32:02 -05:00
|
|
|
# Steven runs horrendously slow with no optimizations, and often freezes.
|
|
|
|
# However, building with full -O3 optimizations takes too long for a debug build.
|
|
|
|
# Use an -O1 optimization level strikes a good compromise between build and program performance.
|
|
|
|
opt-level = 1
|
|
|
|
|
2015-09-07 16:11:00 -04:00
|
|
|
[dependencies]
|
2020-11-24 14:47:41 -05:00
|
|
|
cfg-if = "1.0.0"
|
2022-10-23 19:57:28 -04:00
|
|
|
wasm-bindgen = "0.2.83"
|
2022-11-25 12:14:37 -05:00
|
|
|
winit = "0.27.5"
|
2022-07-30 17:49:30 -04:00
|
|
|
glow = "0.11.2"
|
2021-05-17 00:13:50 -04:00
|
|
|
byteorder = "1.4.3"
|
2022-12-31 20:45:27 -05:00
|
|
|
serde = "1.0.152"
|
|
|
|
serde_json = "1.0.91"
|
2022-12-31 20:23:10 -05:00
|
|
|
flate2 = { version = "1.0.25", features = ["rust_backend"], default-features = false }
|
2022-10-23 19:57:28 -04:00
|
|
|
zip = { version = "0.6.3", features = ["deflate"], default-features = false }
|
2024-03-31 01:33:47 -04:00
|
|
|
image = "0.25.1"
|
2022-10-23 19:57:28 -04:00
|
|
|
getrandom = { version = "0.2.8", features = ["js"] }
|
2022-07-30 17:49:30 -04:00
|
|
|
rand = "0.8.5"
|
2021-06-18 17:01:08 -04:00
|
|
|
rand_pcg = "0.3.1"
|
2022-11-25 12:14:37 -05:00
|
|
|
base64 = "0.13.1"
|
2022-07-30 18:54:49 -04:00
|
|
|
log = { version = "0.4.17", features = ["std"] }
|
2019-05-10 18:39:56 -04:00
|
|
|
cgmath = "0.17.0"
|
Update serde, image, hex, lazy_static, structopt..
* serde 1.1.0.2, closes #233
* image 0.21.3, closes #221
* hex 0.4.0, closes #225
* lazy_static 1.4.0, closes #217
* structopt 0.3.3, closes #231
* Requires rustc 1.36+, updated in previous commit
* reqwest 0.9.22, closes #230
* cargo update, closes #219
2019-11-02 17:18:22 -04:00
|
|
|
lazy_static = "1.4.0"
|
2019-05-10 18:39:56 -04:00
|
|
|
collision = "0.20.1"
|
2021-07-18 20:23:15 -04:00
|
|
|
rsa_public_encrypt_pkcs1 = "0.4.0"
|
2022-07-30 17:49:30 -04:00
|
|
|
structopt = "0.3.26"
|
2022-07-30 20:11:36 -04:00
|
|
|
clipboard = { git = "https://github.com/iceiix/rust-clipboard", rev = "71089e792fd5e52f05d5b22c54bd2d206d20ec0d" }
|
2021-12-24 12:04:43 -05:00
|
|
|
instant = "0.1.12"
|
|
|
|
dirs = "4.0.0"
|
2016-03-26 10:24:26 -04:00
|
|
|
# clippy = "*"
|
2015-09-07 16:11:00 -04:00
|
|
|
|
Add support for compiling WebAssembly wasm32-unknown-unknown target (#92)
Note this only is the first step in web support, although the project compiles, it doesn't run!
Merging now to avoid branch divergence, until dependencies can be updated for wasm support.
* Add instructions to build for wasm32-unknown-unknown with wasm-pack in www/
* Update to rust-clipboard fork to compile with emscripten
https://github.com/aweinstock314/rust-clipboard/pull/62
* Exclude reqwest dependency in wasm32
* Exclude compiling clipboard pasting on wasm32
* Exclude reqwest-using code from wasm32
* Install wasm target with rustup in Travis CI
* Update to collision 0.19.0
Fixes wasm incompatibility in deprecated rustc-serialize crate: https://github.com/rustgd/collision-rs/issues/106
error[E0046]: not all trait items implemented, missing: `encode`
--> github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:1358:1
* Increase travis_wait time even further, try 120 minutes
* Set RUST_BACKTRACE=1 in main
* Remove unused unneeded bzip2 features in zip crate
To fix wasm32-unknown-unknown target compile error:
error[E0432]: unresolved imports `libc::c_int`, `libc::c_uint`, `libc::c_void`, `libc::c_char`
--> src/github.com-1ecc6299db9ec823/bzip2-sys-0.1.7/lib.rs:5:12
|
5 | use libc::{c_int, c_uint, c_void, c_char};
| ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `c_char` in the root
| | | |
| | | no `c_void` in the root
| | no `c_uint` in the root
| no `c_int` in the root
* flate2 use Rust backend
* Add console_error_panic_hook module for wasm backtraces
* Build using wasm-pack, wasm-bindgen, run with wasm-app
* Update to miniz_oxide 0.2.1, remove patch for https://github.com/Frommi/miniz_oxide/issues/42
* Update to official clipboard crate since https://github.com/aweinstock314/rust-clipboard/pull/62 was merged, but git revision pending release
* Update to branch of glutin attempting to build for wasm
https://github.com/iceiix/glutin/pull/1
* Update winit dependency of glutin to git master
https://github.com/iceiix/winit/pull/2
* Update to glutin branch with working (compiles, doesn't run) wasm_stub
* Add app name in title on web page
* Add wasm to Travis-CI test matrix
* Update glutin to fix Windows EGL compilation on AppVeyor
https://github.com/iceiix/glutin/pull/1/commits/97797352b5242436cb82d8ecfb44242b69766e4c
2019-03-03 11:32:36 -05:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2022-12-31 20:45:27 -05:00
|
|
|
reqwest = { version = "0.11.13", features = [ "blocking" ]}
|
2022-07-30 18:54:49 -04:00
|
|
|
glutin = "0.29.0"
|
Add support for compiling WebAssembly wasm32-unknown-unknown target (#92)
Note this only is the first step in web support, although the project compiles, it doesn't run!
Merging now to avoid branch divergence, until dependencies can be updated for wasm support.
* Add instructions to build for wasm32-unknown-unknown with wasm-pack in www/
* Update to rust-clipboard fork to compile with emscripten
https://github.com/aweinstock314/rust-clipboard/pull/62
* Exclude reqwest dependency in wasm32
* Exclude compiling clipboard pasting on wasm32
* Exclude reqwest-using code from wasm32
* Install wasm target with rustup in Travis CI
* Update to collision 0.19.0
Fixes wasm incompatibility in deprecated rustc-serialize crate: https://github.com/rustgd/collision-rs/issues/106
error[E0046]: not all trait items implemented, missing: `encode`
--> github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:1358:1
* Increase travis_wait time even further, try 120 minutes
* Set RUST_BACKTRACE=1 in main
* Remove unused unneeded bzip2 features in zip crate
To fix wasm32-unknown-unknown target compile error:
error[E0432]: unresolved imports `libc::c_int`, `libc::c_uint`, `libc::c_void`, `libc::c_char`
--> src/github.com-1ecc6299db9ec823/bzip2-sys-0.1.7/lib.rs:5:12
|
5 | use libc::{c_int, c_uint, c_void, c_char};
| ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `c_char` in the root
| | | |
| | | no `c_void` in the root
| | no `c_uint` in the root
| no `c_int` in the root
* flate2 use Rust backend
* Add console_error_panic_hook module for wasm backtraces
* Build using wasm-pack, wasm-bindgen, run with wasm-app
* Update to miniz_oxide 0.2.1, remove patch for https://github.com/Frommi/miniz_oxide/issues/42
* Update to official clipboard crate since https://github.com/aweinstock314/rust-clipboard/pull/62 was merged, but git revision pending release
* Update to branch of glutin attempting to build for wasm
https://github.com/iceiix/glutin/pull/1
* Update winit dependency of glutin to git master
https://github.com/iceiix/winit/pull/2
* Update to glutin branch with working (compiles, doesn't run) wasm_stub
* Add app name in title on web page
* Add wasm to Travis-CI test matrix
* Update glutin to fix Windows EGL compilation on AppVeyor
https://github.com/iceiix/glutin/pull/1/commits/97797352b5242436cb82d8ecfb44242b69766e4c
2019-03-03 11:32:36 -05:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2021-12-24 12:04:43 -05:00
|
|
|
console_error_panic_hook = "0.1.7"
|
2022-10-23 19:57:28 -04:00
|
|
|
web-sys = "0.3.60"
|
Add support for compiling WebAssembly wasm32-unknown-unknown target (#92)
Note this only is the first step in web support, although the project compiles, it doesn't run!
Merging now to avoid branch divergence, until dependencies can be updated for wasm support.
* Add instructions to build for wasm32-unknown-unknown with wasm-pack in www/
* Update to rust-clipboard fork to compile with emscripten
https://github.com/aweinstock314/rust-clipboard/pull/62
* Exclude reqwest dependency in wasm32
* Exclude compiling clipboard pasting on wasm32
* Exclude reqwest-using code from wasm32
* Install wasm target with rustup in Travis CI
* Update to collision 0.19.0
Fixes wasm incompatibility in deprecated rustc-serialize crate: https://github.com/rustgd/collision-rs/issues/106
error[E0046]: not all trait items implemented, missing: `encode`
--> github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:1358:1
* Increase travis_wait time even further, try 120 minutes
* Set RUST_BACKTRACE=1 in main
* Remove unused unneeded bzip2 features in zip crate
To fix wasm32-unknown-unknown target compile error:
error[E0432]: unresolved imports `libc::c_int`, `libc::c_uint`, `libc::c_void`, `libc::c_char`
--> src/github.com-1ecc6299db9ec823/bzip2-sys-0.1.7/lib.rs:5:12
|
5 | use libc::{c_int, c_uint, c_void, c_char};
| ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `c_char` in the root
| | | |
| | | no `c_void` in the root
| | no `c_uint` in the root
| no `c_int` in the root
* flate2 use Rust backend
* Add console_error_panic_hook module for wasm backtraces
* Build using wasm-pack, wasm-bindgen, run with wasm-app
* Update to miniz_oxide 0.2.1, remove patch for https://github.com/Frommi/miniz_oxide/issues/42
* Update to official clipboard crate since https://github.com/aweinstock314/rust-clipboard/pull/62 was merged, but git revision pending release
* Update to branch of glutin attempting to build for wasm
https://github.com/iceiix/glutin/pull/1
* Update winit dependency of glutin to git master
https://github.com/iceiix/winit/pull/2
* Update to glutin branch with working (compiles, doesn't run) wasm_stub
* Add app name in title on web page
* Add wasm to Travis-CI test matrix
* Update glutin to fix Windows EGL compilation on AppVeyor
https://github.com/iceiix/glutin/pull/1/commits/97797352b5242436cb82d8ecfb44242b69766e4c
2019-03-03 11:32:36 -05:00
|
|
|
|
2016-03-16 14:15:13 -04:00
|
|
|
[dependencies.steven_resources]
|
|
|
|
path = "./resources"
|
|
|
|
version = "0"
|
2016-04-03 13:26:52 -04:00
|
|
|
|
|
|
|
[dependencies.steven_blocks]
|
|
|
|
path = "./blocks"
|
|
|
|
version = "0"
|
2016-04-03 15:53:40 -04:00
|
|
|
|
|
|
|
[dependencies.steven_shared]
|
|
|
|
path = "./shared"
|
|
|
|
version = "0"
|
2019-05-29 11:21:56 -04:00
|
|
|
|
2020-02-02 10:42:22 -05:00
|
|
|
[dependencies.steven_protocol]
|
|
|
|
path = "./protocol"
|
|
|
|
version = "0"
|
|
|
|
|
2019-05-29 11:21:56 -04:00
|
|
|
[dependencies.std_or_web]
|
|
|
|
path = "./std_or_web"
|
|
|
|
version = "0"
|