# 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 = "golem-rust" version = "1.1.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Golem Rust tooling library that facilitates writing Golem backends in Rust" homepage = "https://golem.cloud" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/golemcloud/golem-rust" [package.metadata.component] package = "golem:rust" [package.metadata.component.target] path = "wit" [package.metadata.component.target.dependencies."golem:api"] path = "wit/deps/golem" [package.metadata.component.target.dependencies."golem:rpc"] path = "wit/deps/wasm-rpc" [package.metadata.component.target.dependencies."wasi:blobstore"] path = "wit/deps/blobstore" [package.metadata.component.target.dependencies."wasi:cli"] path = "wit/deps/cli" [package.metadata.component.target.dependencies."wasi:clocks"] path = "wit/deps/clocks" [package.metadata.component.target.dependencies."wasi:filesystem"] path = "wit/deps/filesystem" [package.metadata.component.target.dependencies."wasi:http"] path = "wit/deps/http" [package.metadata.component.target.dependencies."wasi:io"] path = "wit/deps/io" [package.metadata.component.target.dependencies."wasi:keyvalue"] path = "wit/deps/keyvalue" [package.metadata.component.target.dependencies."wasi:logging"] path = "wit/deps/logging" [package.metadata.component.target.dependencies."wasi:random"] path = "wit/deps/random" [package.metadata.component.target.dependencies."wasi:sockets"] path = "wit/deps/sockets" [lib] name = "golem_rust" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.golem-rust-macro] version = "1.1.0" optional = true [dependencies.serde] version = "1.0.204" optional = true [dependencies.serde_json] version = "1.0.120" optional = true [dependencies.uuid] version = "1.10.0" features = ["v4"] optional = true [dependencies.wit-bindgen-rt] version = "0.26.0" features = ["bitflags"] [features] default = [ "json", "macro", "uuid", ] json = [ "dep:serde", "dep:serde_json", ] macro = ["dep:golem-rust-macro"] uuid = ["dep:uuid"]