# 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 = "2021" name = "specta" version = "2.0.0-rc.20" authors = ["Oscar Beaumont "] include = [ "/src", "/examples", "/LICENCE", "/README.md", ] description = "Easily export your Rust types to other languages" documentation = "https://docs.rs/specta/latest/specta" keywords = [ "async", "specta", "rspc", "typescript", "typesafe", ] categories = [ "web-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/oscartbeaumont/specta" [package.metadata."docs.rs"] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.bevy_ecs] version = "0.14.0" optional = true default-features = false [dependencies.bevy_input] version = "0.14.0" optional = true default-features = false [dependencies.bigdecimal] version = "0.4.5" features = [] optional = true default-features = false [dependencies.bit-vec] version = "0.7.0" features = [] optional = true default-features = false [dependencies.bson] version = "2.11.0" features = [] optional = true default-features = false [dependencies.bytesize] version = "1.3.0" features = [] optional = true default-features = false [dependencies.chrono] version = "0.4.38" features = ["clock"] optional = true default-features = false [dependencies.either] version = "1.13.0" optional = true default-features = false [dependencies.glam] version = "0.28" features = ["std"] optional = true default-features = false [dependencies.indexmap] version = "2.2.6" features = ["std"] optional = true default-features = false [dependencies.ipnetwork] version = "0.20.0" features = [] optional = true default-features = false [dependencies.mac_address] version = "1.1.7" features = [] optional = true default-features = false [dependencies.paste] version = "1" optional = true [dependencies.rust_decimal] version = "1.35.0" features = [] optional = true default-features = false [dependencies.serde] version = "1.0.204" features = ["derive"] optional = true default-features = false [dependencies.serde_json] version = "1.0.120" features = ["std"] optional = true default-features = false [dependencies.serde_yaml] version = "0.9.34" features = [] optional = true default-features = false [dependencies.specta-macros] version = "=2.0.0-rc.17" optional = true [dependencies.specta1] version = "1" optional = true default-features = false package = "specta" [dependencies.thiserror] version = "1.0.61" [dependencies.time] version = "0.3.36" features = [] optional = true default-features = false [dependencies.tokio] version = "1.38" features = ["sync"] optional = true default-features = false [dependencies.toml] version = "0.8.14" optional = true default-features = false [dependencies.uhlc] version = "0.8.0" features = [] optional = true default-features = false [dependencies.ulid] version = "1.1.2" features = [] optional = true default-features = false [dependencies.url] version = "2.5.2" optional = true default-features = false [dependencies.uuid] version = "1.10.0" features = [] optional = true default-features = false [dev-dependencies.serde] version = "1.0.204" features = ["derive"] [features] bevy_ecs = ["dep:bevy_ecs"] bevy_input = [ "dep:bevy_input", "dep:bevy_ecs", "dep:glam", ] bigdecimal = ["dep:bigdecimal"] bit-vec = ["dep:bit-vec"] bson = ["dep:bson"] bytesize = ["dep:bytesize"] chrono = ["dep:chrono"] default = [] derive = ["dep:specta-macros"] either = ["dep:either"] function = [ "specta-macros?/DO_NOT_USE_function", "dep:paste", ] glam = ["dep:glam"] indexmap = ["dep:indexmap"] interop = ["dep:specta1"] ipnetwork = ["dep:ipnetwork"] mac_address = ["dep:mac_address"] rust_decimal = ["dep:rust_decimal"] serde = ["dep:serde"] serde_json = ["dep:serde_json"] serde_yaml = ["dep:serde_yaml"] time = ["dep:time"] tokio = ["dep:tokio"] toml = ["dep:toml"] uhlc = ["dep:uhlc"] ulid = ["dep:ulid"] url = ["dep:url"] uuid = ["dep:uuid"] [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.panic] level = "warn" priority = -1 [lints.clippy.panic_in_result_fn] level = "warn" priority = -1 [lints.clippy.todo] level = "warn" priority = -1 [lints.clippy.unwrap_used] level = "warn" priority = -1 [lints.rust.unsafe_code] level = "forbid" priority = -1