# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "sge"
version = "1.2.0"
authors = ["Lily Lopes <joshrl@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple game engine"
readme = "README.md"
keywords = [
    "gamedev",
    "graphics",
    "gui",
]
categories = [
    "graphics",
    "gui",
]
license = "MIT"
repository = "https://github.com/LilyRL/sge"

[features]
audio = ["dep:sge_audio"]
clipboard = ["sge_input/clipboard"]
debug_visualisations = [
    "debugging",
    "dep:sge_debug_visualisations",
]
debugging = ["dep:sge_debugging"]
default = [
    "audio",
    "debugging",
    "debug_visualisations",
    "round_coords",
    "extra_fonts",
    "gamepad",
    "input",
    "precise_cursor_movement",
    "text",
    "ui",
    "material_ui",
    "network",
    "clipboard",
    "multiplayer",
]
egui = ["dep:sge_egui"]
extra_fonts = [
    "text",
    "sge_text/extra_fonts",
]
gamepad = [
    "input",
    "sge_input/gamepad",
]
input = ["dep:sge_input"]
material_ui = ["sge_ui/material"]
multiplayer = ["dep:sge_multiplayer"]
network = ["sge_exec/network"]
precise_cursor_movement = ["sge_input/precise_cursor_movement"]
round_coords = ["sge_rendering/round_coords"]
text = ["dep:sge_text"]
ui = [
    "extra_fonts",
    "dep:sge_ui",
]

[lib]
name = "sge"
path = "src/lib.rs"

[[example]]
name = "2d_platformer"
path = "examples/2d_platformer.rs"

[[example]]
name = "2d_platformer_simple"
path = "examples/2d_platformer_simple.rs"

[[example]]
name = "2d_rotation"
path = "examples/2d_rotation.rs"

[[example]]
name = "3d"
path = "examples/3d.rs"

[[example]]
name = "3d_render_textures"
path = "examples/3d_render_textures.rs"

[[example]]
name = "action_mapping"
path = "examples/action_mapping.rs"

[[example]]
name = "arrows"
path = "examples/arrows.rs"

[[example]]
name = "async_asset_loading"
path = "examples/async_asset_loading.rs"

[[example]]
name = "color_schemes"
path = "examples/color_schemes.rs"

[[example]]
name = "coroutines"
path = "examples/coroutines.rs"

[[example]]
name = "css_colors"
path = "examples/css_colors.rs"

[[example]]
name = "cubic_bezier"
path = "examples/cubic_bezier.rs"

[[example]]
name = "custom_init"
path = "examples/custom_init.rs"

[[example]]
name = "debug_textures"
path = "examples/debug_textures.rs"

[[example]]
name = "default_material"
path = "examples/default_material.rs"

[[example]]
name = "demo"
path = "examples/demo.rs"

[[example]]
name = "ellipse"
path = "examples/ellipse.rs"

[[example]]
name = "first_person"
path = "examples/first_person.rs"

[[example]]
name = "flip_y"
path = "examples/flip_y.rs"

[[example]]
name = "fonts"
path = "examples/fonts.rs"

[[example]]
name = "gamepad"
path = "examples/gamepad.rs"

[[example]]
name = "gradients"
path = "examples/gradients.rs"

[[example]]
name = "graph"
path = "examples/graph.rs"

[[example]]
name = "graph_path"
path = "examples/graph_path.rs"

[[example]]
name = "include_assets"
path = "examples/include_assets.rs"

[[example]]
name = "interpolation"
path = "examples/interpolation.rs"

[[example]]
name = "loading_spinner"
path = "examples/loading_spinner.rs"

[[example]]
name = "logging"
path = "examples/logging.rs"

[[example]]
name = "material"
path = "examples/material.rs"

[[example]]
name = "material_ui"
path = "examples/material_ui.rs"

[[example]]
name = "metaballs"
path = "examples/metaballs.rs"

[[example]]
name = "multiplayer"
path = "examples/multiplayer.rs"

[[example]]
name = "network"
path = "examples/network.rs"

[[example]]
name = "opengl_version"
path = "examples/opengl_version.rs"

[[example]]
name = "particle_emitter"
path = "examples/particle_emitter.rs"

[[example]]
name = "particles"
path = "examples/particles.rs"

[[example]]
name = "particles_2"
path = "examples/particles_2.rs"

[[example]]
name = "persistence"
path = "examples/persistence.rs"

[[example]]
name = "physics"
path = "examples/physics.rs"

[[example]]
name = "pixel_drawing"
path = "examples/pixel_drawing.rs"

[[example]]
name = "post_processing"
path = "examples/post_processing.rs"

[[example]]
name = "post_processing_2"
path = "examples/post_processing_2.rs"

[[example]]
name = "post_processing_3"
path = "examples/post_processing_3.rs"

[[example]]
name = "quadratic_bezier"
path = "examples/quadratic_bezier.rs"

[[example]]
name = "radial"
path = "examples/radial.rs"

[[example]]
name = "render_textures"
path = "examples/render_textures.rs"

[[example]]
name = "rich_text"
path = "examples/rich_text.rs"

[[example]]
name = "scenes"
path = "examples/scenes.rs"

[[example]]
name = "screenshot"
path = "examples/screenshot.rs"

[[example]]
name = "sdf"
path = "examples/sdf.rs"

[[example]]
name = "sectors"
path = "examples/sectors.rs"

[[example]]
name = "shapes_3d"
path = "examples/shapes_3d.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[example]]
name = "simple_sound"
path = "examples/simple_sound.rs"

[[example]]
name = "space_game"
path = "examples/space_game.rs"

[[example]]
name = "specular"
path = "examples/specular.rs"

[[example]]
name = "spritesheet"
path = "examples/spritesheet.rs"

[[example]]
name = "storage"
path = "examples/storage.rs"

[[example]]
name = "tailwind_colors"
path = "examples/tailwind_colors.rs"

[[example]]
name = "text"
path = "examples/text.rs"

[[example]]
name = "texture_positioning"
path = "examples/texture_positioning.rs"

[[example]]
name = "textured_object"
path = "examples/textured_object.rs"

[[example]]
name = "textures"
path = "examples/textures.rs"

[[example]]
name = "ui"
path = "examples/ui.rs"

[[example]]
name = "ui_chart"
path = "examples/ui_chart.rs"

[[example]]
name = "ui_showcase"
path = "examples/ui_showcase.rs"

[[example]]
name = "window"
path = "examples/window.rs"

[dependencies.anyhow]
version = "1"

[dependencies.env_logger]
version = "0.11.8"
default-features = false

[dependencies.glium]
version = "0.36.0"

[dependencies.glutin-winit]
version = "0.5.0"

[dependencies.image]
version = "0.25.8"
features = [
    "png",
    "jpeg",
]
default-features = false

[dependencies.log]
version = "0.4.28"

[dependencies.rkyv]
version = "0.8.16"

[dependencies.sge_animation]
version = "1.1.0"

[dependencies.sge_api]
version = "1.1.1"

[dependencies.sge_audio]
version = "1.1.0"
optional = true

[dependencies.sge_camera]
version = "1.2.0"

[dependencies.sge_camera_controllers]
version = "1.2.0"

[dependencies.sge_color]
version = "1.2.0"

[dependencies.sge_config]
version = "1.1.0"

[dependencies.sge_debug_visualisations]
version = "1.1.0"
optional = true

[dependencies.sge_debugging]
version = "1.1.0"
optional = true

[dependencies.sge_egui]
version = "1.1.0"
optional = true

[dependencies.sge_error_union]
version = "1.1.0"

[dependencies.sge_exec]
version = "1.0.0"

[dependencies.sge_global]
version = "1.1.0"

[dependencies.sge_graph_networks]
version = "1.1.0"

[dependencies.sge_image]
version = "1.1.0"

[dependencies.sge_include_assets]
version = "1.1.0"

[dependencies.sge_input]
version = "1.1.1"
optional = true

[dependencies.sge_logging]
version = "1.2.0"

[dependencies.sge_macros]
version = "1.1.0"

[dependencies.sge_math]
version = "1.2.0"

[dependencies.sge_multiplayer]
version = "1.2.0"
optional = true

[dependencies.sge_particles]
version = "1.1.1"

[dependencies.sge_persistence]
version = "1.2.0"

[dependencies.sge_physics]
version = "1.1.0"

[dependencies.sge_programs]
version = "1.2.0"

[dependencies.sge_rendering]
version = "1.2.0"

[dependencies.sge_rng]
version = "1.2.0"

[dependencies.sge_shapes]
version = "1.1.1"

[dependencies.sge_text]
version = "1.2.0"
optional = true

[dependencies.sge_texture_atlas]
version = "1.1.0"

[dependencies.sge_textures]
version = "1.1.0"

[dependencies.sge_time]
version = "1.1.0"

[dependencies.sge_types]
version = "1.2.0"

[dependencies.sge_ui]
version = "1.1.4"
optional = true

[dependencies.sge_utils]
version = "1.2.0"

[dependencies.sge_vectors]
version = "1.2.0"

[dependencies.sge_window]
version = "1.1.0"

[dependencies.trig-const]
version = "0.3.0"

[target.x86_64-unknown-linux-gnu]

[profile.release]
lto = "thin"
codegen-units = 1
