Skip to content

Commit

Permalink
⬆️ upgrades dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chriamue committed Dec 26, 2023
1 parent 2c5dc9f commit 6245795
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
29 changes: 16 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
[package]
name = "object-detector-rust"
edition = "2021"
version = "0.1.2"
version = "0.1.3"
authors = ["Christian M <[email protected]>"]
description = "A framework for detecting objects in images using feature-based algorithms."
license = "MIT"
repository = "https://github.com/chriamue/object-detector-rust"
keywords = ["machine-learning", "object-detection", "svm", "bayes", "random-forest"]
keywords = [
"machine-learning",
"object-detection",
"svm",
"bayes",
"random-forest",
]

# The package's dependencies
[dependencies]
bincode = "1.3.3"
image = { version = "0.24.3", default-features = false, features = [
image = { version = "0.24.7", default-features = false, features = [
"png",
"jpeg",
] }
imageproc = { version = "0.23.0", default-features = false }
linfa = "0.6.1"
linfa-svm = { version = "0.6.1", features = [
linfa = "0.7.0"
linfa-svm = { version = "0.7.0", features = [
"serde",
], default-features = false }
linfa-bayes = "0.6.1"
linfa-bayes = "0.7.0"
ndarray = "0.15.6"
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
smartcore = { version = "0.3.0", features = [
smartcore = { version = "0.3.1", features = [
"ndarray-bindings",
"serde",
], default-features = false, git = "https://github.com/smartcorelib/smartcore", branch = "fix-245", optional = true }
], default-features = false, git = "https://github.com/smartcorelib/smartcore", optional = true }

# The package's dev dependencies
[dev-dependencies]
criterion = { version = "0.4", default-features = false }
mockall = "0.11.3"
criterion = { version = "0.5.1", default-features = false }
mockall = "0.12.1"

# The package's features
[features]
default = ["hog", "brief", "randomforest"]
hog = []
Expand Down
4 changes: 2 additions & 2 deletions examples/hog_svm.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#[cfg(not(feature = "brief"))]
#[cfg(not(feature = "hog"))]
fn main() {
eprintln!("example needs brief feature: cargo run --features hog --example hog_svm");
}

#[cfg(feature = "brief")]
#[cfg(feature = "hog")]
fn main() -> Result<(), String> {
use std::fs::File;

Expand Down

0 comments on commit 6245795

Please sign in to comment.