Skip to content

Commit

Permalink
Adjust build config
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtung committed Dec 4, 2021
1 parent 30316d6 commit 194af99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "omikuji"
description = "an efficient implementation of Partitioned Label Treesand its variations for extreme multi-label classification"
version = "0.3.4"
edition = "2018"
edition = "2021"
authors = ["Tom Dong <[email protected]>"]
license = "MIT"
repository = "https://github.com/tomtung/omikuji"
Expand Down Expand Up @@ -44,3 +44,7 @@ required-features = ["cli"]

[features]
cli = ["simple_logger", "clap"]

[profile.release]
lto = true
codegen-units = 1
4 changes: 3 additions & 1 deletion c-api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "omikuji_c-api"
version = "0.3.4"
edition = "2018"
edition = "2021"
authors = ["Tom Dong <[email protected]>"]

[lib]
Expand All @@ -19,3 +19,5 @@ cbindgen = "0.20.*"

[profile.release]
panic = "abort"
lto = true
codegen-units = 1

0 comments on commit 194af99

Please sign in to comment.