# 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" rust-version = "1.60" name = "transient" version = "0.4.1" authors = ["Joshua Rudolph "] build = false exclude = ["/.gitignore"] autobins = false autoexamples = false autotests = false autobenches = false description = "Reimplementation of `std::any::Any` with support for non-`'static` types" homepage = "https://github.com/JRRudy1/transient" documentation = "https://docs.rs/transient" readme = "README.md" keywords = [ "any", "static", "downcast", "typeid", ] license = "MIT OR Apache-2.0" repository = "https://github.com/JRRudy1/transient" [lib] name = "transient" path = "src/lib.rs" doctest = true [[test]] name = "test_compiler_error" path = "tests/test_compiler_error.rs" [dependencies.either] version = ">=1" optional = true default-features = false [dependencies.ndarray] version = "0.15" optional = true [dependencies.numpy] version = "0.21" optional = true [dependencies.pyo3] version = ">=0.21" optional = true [dependencies.rmp-serde] version = ">=1" optional = true default-features = false [dependencies.rustversion] version = "1.0" [dependencies.serde_json] version = ">=1" features = ["std"] optional = true default-features = false [dependencies.transient-derive] version = "0.4.1" optional = true [dependencies.uuid] version = "1" optional = true [dev-dependencies.trybuild] version = "1.0" features = ["diff"] [features] default = ["derive"] derive = ["transient-derive"] either = ["dep:either"] ndarray = ["dep:ndarray"] numpy = [ "dep:numpy", "pyo3", ] pyo3 = ["dep:pyo3"] rmp-serde = ["dep:rmp-serde"] serde_json = ["dep:serde_json"] uuid = ["dep:uuid"]