diff --git a/mas/fractals/mandel/.gitignore b/mas/fractals/mandel/.gitignore new file mode 100644 index 0000000..6985cf1 --- /dev/null +++ b/mas/fractals/mandel/.gitignore @@ -0,0 +1,14 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb diff --git a/mas/fractals/mandel/Cargo.lock b/mas/fractals/mandel/Cargo.lock index f0b7aca..1081ea8 100644 --- a/mas/fractals/mandel/Cargo.lock +++ b/mas/fractals/mandel/Cargo.lock @@ -15,44 +15,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] -name = "csfml-audio-sys" -version = "0.6.0" +name = "cfg-if" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4e20d25b6f2c582dff0b82440dd2b6b6a3ae78eb07096ca226a64f02779da96" -dependencies = [ - "csfml-system-sys", - "sfml-build", -] +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] -name = "csfml-graphics-sys" -version = "0.6.0" +name = "lazy_static" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b592b4e5f26de6d46b53f762a2a46e80826f69e008272d302a49e87c27a6c996" -dependencies = [ - "csfml-system-sys", - "csfml-window-sys", - "sfml-build", -] +checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] -name = "csfml-system-sys" -version = "0.6.0" +name = "libc" +version = "0.2.125" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4019b7cb9ece70481603aaadb9a0094c9a6455d1a71d82d24c5a0b47c037cfaf" -dependencies = [ - "sfml-build", -] - -[[package]] -name = "csfml-window-sys" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27076c2b6aafd377d396700f25bbf5020c695781d20aed6a399bef7ea351a17" -dependencies = [ - "csfml-system-sys", - "sfml-build", -] +checksum = "5916d2ae698f6de9bfb891ad7a8d65c09d232dc58cc4ac433c7da3b2fd84bc2b" [[package]] name = "mandel" @@ -60,7 +38,7 @@ version = "0.1.0" dependencies = [ "matrix", "num", - "sfml", + "sdl2", ] [[package]] @@ -160,34 +138,30 @@ dependencies = [ ] [[package]] -name = "once_cell" -version = "1.10.0" +name = "sdl2" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" - -[[package]] -name = "sfml" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4c72108133019d399b24d0c0bd179cc26aa2909b0001e4202d756e4c90c21b4" +checksum = "f7959277b623f1fb9e04aea73686c3ca52f01b2145f8ea16f4ff30d8b7623b1a" dependencies = [ "bitflags", - "csfml-audio-sys", - "csfml-graphics-sys", - "csfml-system-sys", - "csfml-window-sys", - "once_cell", - "widestring", + "lazy_static", + "libc", + "sdl2-sys", ] [[package]] -name = "sfml-build" -version = "0.4.0" +name = "sdl2-sys" +version = "0.35.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53e0893aaf18583de27202b17007258377d5c4be16e1d0b601fd6943bc36c98b" +checksum = "e3586be2cf6c0a8099a79a12b4084357aa9b3e0b0d7980e3b67aaf7a9d55f9f0" +dependencies = [ + "cfg-if", + "libc", + "version-compare", +] [[package]] -name = "widestring" -version = "0.4.3" +name = "version-compare" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c" +checksum = "fe88247b92c1df6b6de80ddc290f3976dbdf2f5f5d3fd049a9fb598c6dd5ca73" diff --git a/mas/fractals/mandel/Cargo.toml b/mas/fractals/mandel/Cargo.toml index 7a8ef08..c1e1974 100644 --- a/mas/fractals/mandel/Cargo.toml +++ b/mas/fractals/mandel/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -sfml = "0.16.0" num = "0.4.0" matrix = "0.22.0" +sdl2 = "0.35.2"