rimelabs-api 0.4.0

Generated Rime speech protocol types and gRPC clients
Documentation
# 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.88"
name = "rimelabs-api"
version = "0.4.0"
build = false
include = [
    "src/**",
    "README.md",
    "LICENSE",
    "NOTICE",
    "SOURCE.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generated Rime speech protocol types and gRPC clients"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/rimelabs/rime-api"

[features]
default = ["grpc"]
grpc = [
    "dep:tonic",
    "dep:tonic-prost",
]

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

[dependencies.pbjson]
version = "0.8"

[dependencies.pbjson-types]
version = "0.8"

[dependencies.prost]
version = "0.14"

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

[dependencies.tonic]
version = "0.14"
features = [
    "codegen",
    "transport",
]
optional = true
default-features = false

[dependencies.tonic-prost]
version = "0.14"
optional = true

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "net",
]

[dev-dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[lints.rust]
unsafe_code = "forbid"