Skip to content

Commit

Permalink
bump rust edition to 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
xnuk committed Mar 24, 2024
1 parent 9e01c7b commit 4f20c9a
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 24 deletions.
2 changes: 1 addition & 1 deletion src/engine/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-backend"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/backends/emoji/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-backend-emoji"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/backends/hangul/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-backend-hangul"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/backends/hanja/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-backend-hanja"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/backends/latin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-backend-latin"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/backends/math/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-backend-math"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/candidate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-candidate"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/capi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kime-engine-capi"
description = "Kime engine library"
version = "0.5.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/cffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-cffi"
version = "0.8.1"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
3 changes: 1 addition & 2 deletions src/engine/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kime-engine-config"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
license = "GPL-3.0-or-later"
edition = "2018"
edition = "2021"

[features]
config-serde = ["serde", "enumset/serde", "log/serde"]
Expand All @@ -17,4 +17,3 @@ serde = { version = "1.0.124", features = ["derive"], optional = true }
enumset = "1.0.6"
enum-map = "2"
maplit = "1.0.2"

2 changes: 1 addition & 1 deletion src/engine/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-core"
version = "2.0.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/engine/dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-engine-dict"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/frontends/wayland/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-wayland"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/frontends/xim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kime-xim"
description = "Kime XIM server"
version = "0.3.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/tools/candidate-window/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-candidate-window"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion src/tools/check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-check"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/tools/indicator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-indicator"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/tools/kime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/tools/log/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-log"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion src/tools/properties_writer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "properties_writer"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion src/tools/run_dir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "kime-run-dir"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
3 changes: 1 addition & 2 deletions src/tools/version/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
name = "kime-version"
version = "0.1.0"
authors = ["Riey <[email protected]>"]
edition = "2018"
edition = "2021"
license = "GPL-3.0-or-later"

[dependencies]
kime-engine-cffi = { path = "../../engine/cffi" }
kime-log = { path = "../../tools/log" }

0 comments on commit 4f20c9a

Please sign in to comment.