chore: use workspace edition for examples and crates (#2816)

This commit is contained in:
mahmoud-eltahawy 2024-08-13 02:25:47 +03:00 committed by GitHub
parent 7b62ad44d2
commit 20af4928b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
28 changed files with 35 additions and 34 deletions

View File

@ -41,6 +41,7 @@ exclude = ["benchmarks", "examples"]
[workspace.package]
version = "0.7.0-beta"
edition = "2021"
rust-version = "1.75"
[workspace.dependencies]

View File

@ -1,6 +1,5 @@
[package]
name = "throw_error"
edition = "2021"
version = "0.2.0-beta"
authors = ["Greg Johnston"]
license = "MIT"
@ -8,6 +7,7 @@ readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Utilities for wrapping, throwing, and catching errors."
rust-version.workspace = true
edition.workspace = true
[dependencies]
pin-project-lite = "0.2.14"

View File

@ -1,12 +1,12 @@
[package]
name = "any_spawner"
edition = "2021"
version = "0.1.1"
authors = ["Greg Johnston"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Spawn asynchronous tasks in an executor-independent way."
edition.workspace = true
[dependencies]
futures = "0.3.30"

View File

@ -1,6 +1,5 @@
[package]
name = "const_str_slice_concat"
edition = "2021"
version = "0.1.0"
authors = ["Greg Johnston"]
license = "MIT"
@ -8,5 +7,6 @@ readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Utilities for const concatenation of string slices."
rust-version.workspace = true
edition.workspace = true
[dependencies]

View File

@ -1,6 +1,5 @@
[package]
name = "either_of"
edition = "2021"
version = "0.1.0"
authors = ["Greg Johnston"]
license = "MIT"
@ -8,6 +7,7 @@ readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Utilities for working with enumerated types that contain one of 2..n other types."
rust-version.workspace = true
edition.workspace = true
[dependencies]
pin-project-lite = "0.2.14"

View File

@ -1,6 +1,5 @@
[package]
name = "hydration_context"
edition = "2021"
version = "0.2.0-beta"
authors = ["Greg Johnston"]
license = "MIT"
@ -8,6 +7,7 @@ readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Utilities for sharing data between web servers and client-side web applications."
rust-version.workspace = true
edition.workspace = true
[dependencies]
throw_error = { workspace = true }

View File

@ -1,12 +1,12 @@
[package]
name = "leptos_actix"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Actix integrations for the Leptos web framework."
version = { workspace = true }
rust-version.workspace = true
edition.workspace = true
[dependencies]
actix-http = "3.8"

View File

@ -1,12 +1,12 @@
[package]
name = "leptos_axum"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Axum integrations for the Leptos web framework."
version = { workspace = true }
rust-version.workspace = true
edition.workspace = true
[dependencies]
any_spawner = { workspace = true, features = ["tokio"] }

View File

@ -1,12 +1,12 @@
[package]
name = "leptos_integration_utils"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Utilities to help build server integrations for the Leptos web framework."
version = { workspace = true }
rust-version.workspace = true
edition.workspace = true
[dependencies]
futures = "0.3.30"

View File

@ -1,13 +1,13 @@
[package]
name = "leptos"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Leptos is a full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces."
readme = "../README.md"
rust-version.workspace = true
edition.workspace = true
[dependencies]
throw_error = { workspace = true }

View File

@ -1,13 +1,13 @@
[package]
name = "leptos_config"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Configuration for the Leptos web framework."
readme = "../README.md"
version = { workspace = true }
rust-version.workspace = true
edition.workspace = true
[dependencies]
config = { version = "0.14.0", default-features = false, features = [

View File

@ -1,12 +1,12 @@
[package]
name = "leptos_dom"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "DOM operations for the Leptos web framework."
rust-version.workspace = true
edition.workspace = true
[dependencies]
tachys = { workspace = true }

View File

@ -1,13 +1,13 @@
[package]
name = "leptos_hot_reload"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Utility types used for dev mode and hot-reloading for the Leptos web framework."
readme = "../README.md"
rust-version.workspace = true
edition.workspace = true
[dependencies]
anyhow = "1.0"

View File

@ -1,13 +1,13 @@
[package]
name = "leptos_macro"
version = "0.7.0-beta"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "view macro for the Leptos web framework."
readme = "../README.md"
rust-version.workspace = true
edition.workspace = true
[lib]
proc-macro = true

View File

@ -1,13 +1,13 @@
[package]
name = "leptos_server"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "RPC for the Leptos web framework."
readme = "../README.md"
rust-version.workspace = true
edition.workspace = true
[dependencies]
base64 = "0.22.1"

View File

@ -1,12 +1,12 @@
[package]
name = "leptos_meta"
version = "0.7.0-beta"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "Tools to set HTML metadata in the Leptos web framework."
rust-version.workspace = true
edition.workspace = true
[dependencies]
leptos = { workspace = true }

View File

@ -1,12 +1,12 @@
[package]
name = "next_tuple"
version = "0.1.0-beta"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "A trait to build and extend tuples."
rust-version.workspace = true
edition.workspace = true
[dependencies]

View File

@ -1,12 +1,12 @@
[package]
name = "oco_ref"
edition = "2021"
version = "0.2.0"
authors = ["Danik Vitek", "Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "A smart pointer for storing immutable values with relatively-cheap cloning. (Like a `Cow` meets an `Rc`!)"
rust-version.workspace = true
edition.workspace = true
[dependencies]
serde = "1.0"

View File

@ -1,6 +1,5 @@
[package]
name = "or_poisoned"
edition = "2021"
version = "0.1.0"
authors = ["Greg Johnston"]
license = "MIT"
@ -8,5 +7,6 @@ readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Unwrap std lock guards in a semantic way."
rust-version.workspace = true
edition.workspace = true
[dependencies]

View File

@ -1,13 +1,13 @@
[package]
name = "reactive_graph"
version = "0.1.0-beta"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "A fine-grained reactive graph for building user interfaces."
rust-version.workspace = true
edition.workspace = true
[dependencies]
any_spawner = { workspace = true }

View File

@ -1,8 +1,8 @@
[package]
name = "reactive_stores"
edition = "2021"
version = "0.1.0-beta"
rust-version.workspace = true
edition.workspace = true
[dependencies]
guardian = "1.2"

View File

@ -1,8 +1,8 @@
[package]
name = "reactive_stores_macro"
edition = "2021"
version = "0.1.0-beta"
rust-version.workspace = true
edition.workspace = true
[lib]
proc-macro = true

View File

@ -1,13 +1,13 @@
[package]
name = "leptos_router"
version = "0.7.0-beta"
edition = "2021"
authors = ["Greg Johnston", "Ben Wishovich"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Router for the Leptos web framework."
rust-version.workspace = true
edition.workspace = true
[dependencies]
leptos = { workspace = true }

View File

@ -1,7 +1,7 @@
[package]
name = "leptos_router_macro"
edition = "2021"
version.workspace = true
edition.workspace = true
[lib]
proc-macro = true

View File

@ -1,13 +1,13 @@
[package]
name = "server_fn"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston", "Ben Wishovich"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "RPC for any web framework."
readme = "../README.md"
version = { workspace = true }
rust-version.workspace = true
edition.workspace = true
[dependencies]
throw_error = { workspace = true }

View File

@ -1,11 +1,11 @@
[package]
name = "server_fn_macro_default"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "The default implementation of the server_fn macro without a context"
version = { workspace = true }
edition.workspace = true
[lib]
proc-macro = true

View File

@ -1,12 +1,12 @@
[package]
name = "server_fn_macro"
version = { workspace = true }
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
description = "RPC for any web framework."
readme = "../README.md"
version = { workspace = true }
edition.workspace = true
[dependencies]
quote = "1.0"

View File

@ -1,13 +1,13 @@
[package]
name = "tachys"
version = "0.1.0-beta"
edition = "2021"
authors = ["Greg Johnston"]
license = "MIT"
readme = "../README.md"
repository = "https://github.com/leptos-rs/leptos"
description = "Tools for building reactivity-agnostic, renderer-generic, statically-typed view trees for user interface libraries."
rust-version.workspace = true
edition.workspace = true
[dependencies]
throw_error = { workspace = true }