# 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 = "cosmol_viewer_core"
version = "0.2.19"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Molecular visualization tools by rust"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/cosmol-studio/COSMol-viewer"
resolver = "2"

[features]
default = []
wayland = []
x11 = []

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

[[bench]]
name = "molecule_instances"
path = "benches/molecule_instances.rs"
harness = false

[dependencies.base64]
version = "0.22.1"

[dependencies.bytemuck]
version = "1.25.0"

[dependencies.compile-time]
version = "0.2.0"

[dependencies.cosmolkit]
version = "0.2.0"

[dependencies.dashmap]
version = "6.1.0"

[dependencies.eframe]
version = "0.34.1"
features = [
    "wayland",
    "x11",
    "glow",
]
default-features = false

[dependencies.egui_extras]
version = "0.34.1"
default-features = false

[dependencies.glam]
version = "0.33.0"
features = [
    "serde",
    "bytemuck",
]

[dependencies.image]
version = "0.25.9"

[dependencies.kiddo]
version = "5.3.0"

[dependencies.na_seq]
version = "0.3.15"

[dependencies.once_cell]
version = "1.21.4"

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.wide]
version = "1.2.0"

[build-dependencies.resvg]
version = "0.47.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.egui-winit]
version = "0.34.1"
features = [
    "wayland",
    "x11",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin]
version = "0.32.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.glutin-winit]
version = "0.5.0"
