Set up workspace
This commit is contained in:
parent
9c055b67f7
commit
b9c4c2a003
20 changed files with 32 additions and 8 deletions
16
Cargo.toml
16
Cargo.toml
|
|
@ -1,9 +1,12 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "euphoxide"
|
resolver = "2"
|
||||||
|
members = ["euphoxide"]
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
version = "0.5.1"
|
version = "0.5.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[workspace.dependencies]
|
||||||
caseless = "0.2.1"
|
caseless = "0.2.1"
|
||||||
futures-util = "0.3.31"
|
futures-util = "0.3.31"
|
||||||
jiff = { version = "0.1.15", default-features = false, features = ["std"] }
|
jiff = { version = "0.1.15", default-features = false, features = ["std"] }
|
||||||
|
|
@ -13,14 +16,11 @@ serde_json = "1.0.133"
|
||||||
tokio = { version = "1.42.0", features = ["macros", "sync", "time"] }
|
tokio = { version = "1.42.0", features = ["macros", "sync", "time"] }
|
||||||
tokio-tungstenite = "0.24.0"
|
tokio-tungstenite = "0.24.0"
|
||||||
unicode-normalization = "0.1.24"
|
unicode-normalization = "0.1.24"
|
||||||
|
# For examples
|
||||||
[dev-dependencies]
|
|
||||||
anyhow = "1.0.94"
|
anyhow = "1.0.94"
|
||||||
rustls = "0.23.19"
|
rustls = "0.23.19"
|
||||||
tokio = { version = "1.42.0", features = ["full"] }
|
|
||||||
tokio-tungstenite = { version = "0.24.0", features = ["rustls-tls-native-roots"] }
|
|
||||||
|
|
||||||
[lints]
|
[workspace.lints]
|
||||||
rust.unsafe_code = { level = "forbid", priority = 1 }
|
rust.unsafe_code = { level = "forbid", priority = 1 }
|
||||||
# Lint groups
|
# Lint groups
|
||||||
rust.deprecated_safe = "warn"
|
rust.deprecated_safe = "warn"
|
||||||
|
|
|
||||||
24
euphoxide/Cargo.toml
Normal file
24
euphoxide/Cargo.toml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
[package]
|
||||||
|
name = "euphoxide"
|
||||||
|
edition = { workspace = true }
|
||||||
|
version = { workspace = true }
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
caseless = { workspace = true }
|
||||||
|
futures-util = { workspace = true }
|
||||||
|
jiff = { workspace = true }
|
||||||
|
log = { workspace = true }
|
||||||
|
serde = { workspace = true }
|
||||||
|
serde_json = { workspace = true }
|
||||||
|
tokio = { workspace = true }
|
||||||
|
tokio-tungstenite = { workspace = true }
|
||||||
|
unicode-normalization = { workspace = true }
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
anyhow = { workspace = true }
|
||||||
|
rustls = { workspace = true }
|
||||||
|
tokio = { workspace = true, features = ["full"] }
|
||||||
|
tokio-tungstenite = { workspace = true, features = ["rustls-tls-native-roots"] }
|
||||||
|
|
||||||
|
[lints]
|
||||||
|
workspace = true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue