Max/crates io prep v2 (#6270)
* - standardise versions for all nym-sdk workspace dependencies - prepend sqlx-pool-guard with 'nym-' * Test remove nym-api from deps * Add oneliner to client_pool doc comments * Add note to commented out docs.rs link in sdk * remove nym-api from script * add publishing file * bring non-binary / contract / tools into workspace version * added more info to publishing.md * make deps workspace version * remove uploaded sphinx-types crate from script * remove erroueously included ignore-defaults * add zeroise to feature * chore: Release * add topology to batch * more cargo versioning * more cargo versioning - wasm utils * more cargo versioning - wasm utils * Add publish=false to manifest for cargo workspaces / crates.io publishing exclusion * remove script now switched to manifest based exclusion * rename import based on rename of contracts-common dep * Making workspace versions for publication + removing unnecessary crates from publication * Remove OOD info from publishing sdk guide * rename contract imports + remove package * temp commit: continuing with removal of path from cargo manifest and replacing with workspace version import for publication * continuing with cargo.toml updates * dryrun only erroring on known version problem crates * remove old published-crates file * Minor comment change * remove default features warning * Additional info on workspace dep comment re publish list * Add missing description to cargo.toml * Fix missing feature flags * Add missing descriptions * Fix remaining path import * Add workspace repo / homepage / documentation links to cargo.toml files * remove workspace version from excluded crate * Remove todo descriptions * Minor comment change * add homepage etc * move from bls git import to nym_bls_fork crate * Modify rest of imports from path to workspace import, excluding binaries * add directory/homepage info * fix cargo fmt * add notes to gitignore * better solution to contracts/ experiment * wasm -> nym_wasm crate renaming * fix fatfinger * add metadata to ecash cargo.toml * stub publishing guide * fix misrevolved netlink- version * Fixes and block publication of rebase re: LP * first pass @ workflows
This commit is contained in:
+32
-31
@@ -10,6 +10,7 @@ homepage.workspace = true
|
||||
documentation.workspace = true
|
||||
edition.workspace = true
|
||||
license = "GPL-3.0"
|
||||
publish = false
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@@ -49,39 +50,39 @@ zeroize = { workspace = true, features = ["zeroize_derive"] }
|
||||
cupid = { workspace = true }
|
||||
sysinfo = { workspace = true }
|
||||
|
||||
nym-bin-common = { path = "../common/bin-common", features = [
|
||||
nym-bin-common = { workspace = true, features = [
|
||||
"basic_tracing",
|
||||
"output_format",
|
||||
] }
|
||||
nym-client-core-config-types = { path = "../common/client-core/config-types", features = [
|
||||
nym-client-core-config-types = { workspace = true, features = [
|
||||
"disk-persistence",
|
||||
] }
|
||||
nym-config = { path = "../common/config" }
|
||||
nym-credential-verification = { path = "../common/credential-verification" }
|
||||
nym-crypto = { path = "../common/crypto", features = ["asymmetric", "rand"] }
|
||||
nym-nonexhaustive-delayqueue = { path = "../common/nonexhaustive-delayqueue" }
|
||||
nym-mixnet-client = { path = "../common/client-libs/mixnet-client" }
|
||||
nym-noise = { path = "../common/nymnoise" }
|
||||
nym-noise-keys = { path = "../common/nymnoise/keys" }
|
||||
nym-pemstore = { path = "../common/pemstore" }
|
||||
nym-sphinx-acknowledgements = { path = "../common/nymsphinx/acknowledgements" }
|
||||
nym-sphinx-addressing = { path = "../common/nymsphinx/addressing" }
|
||||
nym-sphinx-framing = { path = "../common/nymsphinx/framing" }
|
||||
nym-sphinx-types = { path = "../common/nymsphinx/types" }
|
||||
nym-sphinx-forwarding = { path = "../common/nymsphinx/forwarding" }
|
||||
nym-sphinx-routing = { path = "../common/nymsphinx/routing" }
|
||||
nym-sphinx-params = { path = "../common/nymsphinx/params" }
|
||||
nym-statistics-common = { path = "../common/statistics" }
|
||||
nym-task = { path = "../common/task" }
|
||||
nym-types = { path = "../common/types" }
|
||||
nym-validator-client = { path = "../common/client-libs/validator-client" }
|
||||
nym-wireguard = { path = "../common/wireguard" }
|
||||
nym-wireguard-types = { path = "../common/wireguard-types", default-features = false }
|
||||
nym-verloc = { path = "../common/verloc" }
|
||||
nym-metrics = { path = "../common/nym-metrics" }
|
||||
nym-gateway-stats-storage = { path = "../common/gateway-stats-storage" }
|
||||
nym-topology = { path = "../common/topology" }
|
||||
nym-http-api-client = { path = "../common/http-api-client" }
|
||||
nym-config = { workspace = true }
|
||||
nym-credential-verification = { workspace = true }
|
||||
nym-crypto = { workspace = true, features = ["asymmetric", "rand"] }
|
||||
nym-nonexhaustive-delayqueue = { workspace = true }
|
||||
nym-mixnet-client = { workspace = true }
|
||||
nym-noise = { workspace = true }
|
||||
nym-noise-keys = { workspace = true }
|
||||
nym-pemstore = { workspace = true }
|
||||
nym-sphinx-acknowledgements = { workspace = true }
|
||||
nym-sphinx-addressing = { workspace = true }
|
||||
nym-sphinx-framing = { workspace = true }
|
||||
nym-sphinx-types = { workspace = true }
|
||||
nym-sphinx-forwarding = { workspace = true }
|
||||
nym-sphinx-routing = { workspace = true }
|
||||
nym-sphinx-params = { workspace = true }
|
||||
nym-statistics-common = { workspace = true }
|
||||
nym-task = { workspace = true }
|
||||
nym-types = { workspace = true }
|
||||
nym-validator-client = { workspace = true }
|
||||
nym-wireguard = { workspace = true }
|
||||
nym-wireguard-types = { workspace = true }
|
||||
nym-verloc = { workspace = true }
|
||||
nym-metrics = { workspace = true}
|
||||
nym-gateway-stats-storage = { workspace = true }
|
||||
nym-topology = { workspace = true }
|
||||
nym-http-api-client = { workspace = true }
|
||||
|
||||
# http server
|
||||
# useful for `#[axum_macros::debug_handler]`
|
||||
@@ -92,15 +93,15 @@ tower-http = { workspace = true, features = ["fs"] }
|
||||
utoipa = { workspace = true, features = ["axum_extras", "time"] }
|
||||
utoipa-swagger-ui = { workspace = true, features = ["axum"] }
|
||||
|
||||
nym-http-api-common = { path = "../common/http-api-common", features = [
|
||||
nym-http-api-common = { workspace = true, features = [
|
||||
"utoipa",
|
||||
"output",
|
||||
"middleware",
|
||||
] }
|
||||
nym-node-requests = { path = "nym-node-requests", default-features = false, features = [
|
||||
nym-node-requests = { workspace = true, default-features = false, features = [
|
||||
"openapi",
|
||||
] }
|
||||
nym-node-metrics = { path = "nym-node-metrics" }
|
||||
nym-node-metrics = { workspace = true }
|
||||
|
||||
# nodes:
|
||||
nym-gateway = { path = "../gateway" }
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
[package]
|
||||
name = "nym-node-metrics"
|
||||
version = "0.1.0"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
documentation.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
description = "Crate defining various metrics for Nym Nodes (Mix Nodes and Gateways) such as ongoing connections, packets mixed, and packets dropped"
|
||||
|
||||
[dependencies]
|
||||
dashmap = { workspace = true }
|
||||
@@ -16,5 +17,5 @@ time = { workspace = true }
|
||||
strum = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
|
||||
nym-metrics = { path = "../../common/nym-metrics" }
|
||||
nym-statistics-common = { path = "../../common/statistics" }
|
||||
nym-metrics = { workspace = true }
|
||||
nym-statistics-common = { workspace = true }
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
[package]
|
||||
name = "nym-node-requests"
|
||||
version = "0.1.0"
|
||||
version.workspace = true
|
||||
authors.workspace = true
|
||||
repository.workspace = true
|
||||
homepage.workspace = true
|
||||
documentation.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
description = "Nym Node API endpoint definitions and functions"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@@ -22,31 +23,31 @@ time = { workspace = true, features = ["serde", "formatting", "parsing"] }
|
||||
thiserror = { workspace = true }
|
||||
url = { workspace = true, features = ["serde"] }
|
||||
|
||||
nym-crypto = { path = "../../common/crypto", features = [
|
||||
nym-crypto = { workspace = true, features = [
|
||||
"asymmetric",
|
||||
"serde",
|
||||
] }
|
||||
nym-exit-policy = { path = "../../common/exit-policy" }
|
||||
nym-noise-keys = { path = "../../common/nymnoise/keys" }
|
||||
nym-wireguard-types = { path = "../../common/wireguard-types", default-features = false }
|
||||
nym-upgrade-mode-check = { path = "../../common/upgrade-mode-check", features = ["openapi"] }
|
||||
nym-exit-policy = { workspace = true }
|
||||
nym-noise-keys = { workspace = true }
|
||||
nym-wireguard-types = { workspace = true }
|
||||
nym-upgrade-mode-check = { workspace = true, features = ["openapi"] }
|
||||
|
||||
# feature-specific dependencies:
|
||||
|
||||
## client:
|
||||
async-trait = { workspace = true, optional = true }
|
||||
nym-http-api-client = { path = "../../common/http-api-client", optional = true }
|
||||
nym-http-api-client = { workspace = true, optional = true }
|
||||
|
||||
## openapi:
|
||||
utoipa = { workspace = true, features = ["time"], optional = true }
|
||||
nym-bin-common = { path = "../../common/bin-common", features = [
|
||||
nym-bin-common = { workspace = true, features = [
|
||||
"bin_info_schema",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
rand_chacha = { workspace = true }
|
||||
nym-crypto = { path = "../../common/crypto", features = ["rand"] }
|
||||
nym-crypto = { workspace = true, features = ["rand"] }
|
||||
|
||||
|
||||
[features]
|
||||
|
||||
Reference in New Issue
Block a user