-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
63 lines (58 loc) · 2.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
################################################################################
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
################################################################################
[workspace]
exclude = [".vscode/*", ".github/*", "tools/*", ".gitignore", ".devcontainer/*"]
members = ["up-subscription", "up-subscription-cli"]
resolver = "2"
[workspace.package]
authors = ["Eclipse Foundation uProtocol Project"]
documentation = "https://github.com/eclipse-uprotocol/up-spec/tree/main/up-l3/usubscription/v3"
edition = "2021"
homepage = "https://github.com/eclipse-uprotocol"
keywords = ["uProtocol", "uSubscription"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/eclipse-uprotocol/up-subscription-rust"
rust-version = "1.76.0"
version = "0.1.1"
[workspace.dependencies]
async-trait = { version = "0.1" }
env_logger = { version = "0.11" }
futures = { version = "0.3" }
log = { version = "0.4" }
mockall = { version = "0.12" }
protobuf = { version = "3.4" }
test-case = { version = "3.3" }
tokio = { version = "1", features = ["full"] }
up-rust = { version = "0.1.3", features = ["usubscription"] }
up-subscription = { path = "./up-subscription" }
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.19.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl"]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Publish jobs to run in CI
pr-run-mode = "skip"
# Whether to install an updater program
install-updater = false
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"