Skip to content

Commit

Permalink
chores: format all Cargo.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Loudet <julien.loudet@zettascale.tech>
  • Loading branch information
J-Loudet committed Aug 30, 2023
1 parent 24261c0 commit b3357b0
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 42 deletions.
26 changes: 12 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@
#
[workspace]
members = [
"cargo-zenoh-flow",
"zenoh-flow",
"zenoh-flow-derive",
"zenoh-flow-daemon",
"zfctl",
"cargo-zenoh-flow",
"zenoh-flow-derive",
"zenoh-flow-plugin",
"zfctl",
]

[workspace.package]
version = "0.6.0-dev"
authors = ["ZettaScale Zenoh Team <zenoh@zettascale.tech>"]
categories = ["network-programming"]
description = "Zenoh-Flow: a Zenoh-based data flow programming framework for computations that span from the cloud to the device."
Expand All @@ -31,28 +30,27 @@ homepage = "https://github.com/eclipse-zenoh/zenoh-flow"
license = " EPL-2.0 OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/eclipse-zenoh/zenoh-flow"
version = "0.6.0-dev"

[workspace.dependencies]
clap = { version = "4.0" }
zenoh = { version = "0.7.2-rc" }
zenoh-sync = { version = "0.7.2-rc" }
zenoh-util = { version = "0.7.2-rc" }
zenoh-collections = { version = "0.7.2-rc" }
zenoh-core = { version = "0.7.2-rc" }
zenoh-ext = { version = "0.7.2-rc" }
zenoh-plugin-trait = { version = "0.7.2-rc", default-features = false }
zenoh-sync = { version = "0.7.2-rc" }
zenoh-util = { version = "0.7.2-rc" }
zrpc = { version = "0.7.0-alpha.1" }
zrpc-macros = { version = "0.7.0-alpha.1" }


[profile.dev]
debug=true
debug = true
opt-level = 0


[profile.release]
debug=true
lto="fat"
codegen-units=1
opt-level=3
panic="abort"
codegen-units = 1
debug = true
lto = "fat"
opt-level = 3
panic = "abort"
15 changes: 6 additions & 9 deletions cargo-zenoh-flow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@
##

[package]
name = "cargo-zenoh-flow"
version.workspace = true
authors.workspace = true
categories.workspace = true
description.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
name = "cargo-zenoh-flow"
readme.workspace = true
repository.workspace = true

version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -32,28 +31,26 @@ async-std = { version = "=1.12.0", features = ["attributes"] }
cargo_toml = "0.13"
clap = { workspace = true, features = ["derive"] }
colored = "2"
rand = { version = "0.8", optional = true}
rand = { version = "0.8", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_derive = "1.0"
serde_json = "1.0"
serde_yaml = {version = "0.9"}
serde_yaml = { version = "0.9" }
tinytemplate = "1.2"
toml = "0.5.8"
zenoh = { workspace = true, optional = true}
zenoh = { workspace = true, optional = true }
zenoh-flow = { path = "../zenoh-flow", version = "0.6.0-dev" }
zenoh-util = { workspace = true, optional = true }


[[bin]]
name = "cargo-zenoh-flow"
path = "src/bin/main.rs"


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

[features]

local_registry = ["zenoh","zenoh-util", "rand"]
local_registry = ["rand", "zenoh", "zenoh-util"]

default = []
20 changes: 9 additions & 11 deletions zenoh-flow-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,34 @@
#

[package]
name = "zenoh-flow-derive"
version.workspace = true
authors.workspace = true
categories.workspace = true
description.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
name = "zenoh-flow-derive"
readme.workspace = true
repository.workspace = true
version.workspace = true

# To build with debug on macros: RUSTFLAGS="-Z macro-backtrace"

[dependencies]
Inflector = "0.11.4"
async-std = { version = "=1.12.0", features = ["attributes"] }
darling = "0.14"
futures = "0.3.5"
syn-serde = { version = "0.2", features = ["json"] }
syn = { version = "1.0.11", features = ["full"] }
quote = "1.0.2"
proc-macro-error = "1.0.4"
proc-macro2 = "1.0.46"
serde_derive = "1.0.55"
quote = "1.0.2"
serde = { version = "1.0.55", features = ["derive"] }
darling = "0.14"
Inflector = "0.11.4"
proc-macro-error = "1.0.4"

serde_derive = "1.0.55"
syn = { version = "1.0.11", features = ["full"] }
syn-serde = { version = "0.2", features = ["json"] }

[dev-dependencies]
env_logger = "0.9"


[lib]
proc-macro = true
16 changes: 8 additions & 8 deletions zenoh-flow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
#

[package]
name = "zenoh-flow"
version.workspace = true
authors.workspace = true
categories.workspace = true
description.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
name = "zenoh-flow"
readme.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
anyhow = { version = "1.0", default-features = false, features = ["std"] }
Expand All @@ -31,7 +31,7 @@ async-recursion = "1.0.0"
async-std = { version = "=1.12.0", features = ["attributes"] }
async-trait = "0.1.50"
base64 = "0.20.0"
bincode = { version = "1.3"}
bincode = { version = "1.3" }
bytesize = "1.2.0"
clap = { workspace = true, features = ["derive"] }
const_format = "0.2.22"
Expand All @@ -52,10 +52,10 @@ petgraph = "0.6.0"
pin-project-lite = "0.2.4"
ramhorns = "0.14"
serde = { version = "1.0.55", features = ["derive", "rc"] }
serde_cbor = {version = "0.11", optional = true}
serde_cbor = { version = "0.11", optional = true }
serde_derive = "1.0.55"
serde_json = { version = "1.0", optional = true}
serde_yaml = {version = "0.9"}
serde_json = { version = "1.0", optional = true }
serde_yaml = { version = "0.9" }
typetag = "0.2"
uhlc = "0.5.1"
url = "2.2"
Expand All @@ -68,16 +68,16 @@ zrpc = { workspace = true }
zrpc-macros = { workspace = true }

[dev-dependencies]
tempdir = "0.3.7"
prost = "0.11"
tempdir = "0.3.7"

[build-dependencies]
rustc_version = "0.4.0"

[features]
data_bincode = []
data_json = ["serde_json"]
data_cbor = ["serde_cbor"]
data_json = ["serde_json"]

debug = ["data_json"]
default = ["debug"]

0 comments on commit b3357b0

Please sign in to comment.