[package]
name = "eucalyptus-core"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
readme = "README.md"

[dependencies]
dropbear-macro = { path = "../dropbear-macro" }
magna-carta = { path = "../magna-carta" }
kino-ui = { path = "../kino-ui", features = ["ser"]}

anyhow.workspace = true
postcard.workspace = true
chrono.workspace = true
dropbear-engine.workspace = true
egui-toast.workspace = true
egui.workspace = true
egui_dock.workspace = true
glam.workspace = true
hecs.workspace = true
log.workspace = true
once_cell.workspace = true
parking_lot.workspace = true
ron.workspace = true
serde.workspace = true
winit.workspace = true
tokio.workspace = true
rayon.workspace = true
jni.workspace = true
sha2.workspace = true
libloading.workspace = true
crossbeam-channel.workspace = true
app_dirs2.workspace = true
log-once.workspace = true
rfd = { workspace = true, optional = true }
typetag.workspace = true
semver.workspace = true
rustc_version_runtime.workspace = true
rapier3d.workspace = true
bytemuck.workspace = true
thiserror.workspace = true
combine.workspace = true
dyn-clone.workspace = true
downcast-rs.workspace = true
wgpu = {workspace = true, features = ["serde"]}
rkyv.workspace = true
bitflags.workspace = true
uuid.workspace = true
splines.workspace = true
puffin.workspace = true

[features]
default = []
# internal redback-runtime configurations because some stuff keep on enabling for JVM
runtime = []
# editor only stuff
editor = ["jvm", "rfd", "jvm_debug"]
# enabled scripttarget::jvm as an option 
jvm = []
# enables jdb
jvm_debug = ["jvm"]

[build-dependencies]
anyhow.workspace = true
app_dirs2.workspace = true
goanna-gen = { path = "../goanna-gen" }
