-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update `Cargo.toml`
- Loading branch information
Showing
5 changed files
with
80 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[![Latest Version]][crates.io] | ||
![MIT] | ||
|
||
# liblinear-rs | ||
|
||
This is the official repository for the [liblinear](crates/liblinear/) Rust library and its support crates. | ||
|
||
[latest version]: https://img.shields.io/crates/v/liblinear.svg | ||
[crates.io]: https://crates.io/crates/liblinear | ||
[mit]: https://img.shields.io/badge/license-MIT-blue.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
[package] | ||
name = "liblinear-macros" | ||
version = "0.1.0" | ||
authors = ["Madeesh Kannan"] | ||
edition = "2021" | ||
|
||
readme = "README.md" | ||
description = "Macros for the `liblinear` crate" | ||
repository = "https://github.com/shadeMe/liblinear-rs" | ||
keywords = ["machine-learning", "statistics", "svm", "linear-model"] | ||
categories = ["api-bindings", "science", "simulation"] | ||
license = "MIT" | ||
|
||
[lib] | ||
proc-macro = true | ||
|
||
[dependencies] | ||
proc-macro2 = "1.0" | ||
quote = "1.0" | ||
syn = { version = "1.0", features = ["full"] } | ||
syn = { version = "2.0", features = ["full"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Changelog | ||
|
||
## 2.0.0 | ||
|
||
### Breaking | ||
|
||
- Rewrite public API to utilize compile-time validation of models and parameters. | ||
- Replace `failure` with `thiserror`. | ||
- Update LIBLINEAR to `v246`. | ||
- Expose one-class SVM solver. | ||
- Reorganize as `cargo` workspace. | ||
- Add `liblinear-macros` crate. | ||
|
||
### Non-breaking | ||
|
||
- Use `-O2` optimizations when compiling LIBLINEAR. | ||
|
||
## 1.0.0 | ||
|
||
### Breaking | ||
|
||
- Update LIBLINEAR to `v230`. | ||
- `ParameterError` - Add variant `IllegalArgument`. | ||
- `LibLinearCrossValidator` - Change `find_optimal_constraints_violation_cost` to `find_optimal_constraints_violation_cost_and_loss_sensitivity` signature. | ||
|
||
### Non-breaking | ||
|
||
- Fix build failures on macOS by automatically selecting the C++ standard library when compiling LIBLINEAR. | ||
- Update dependencies. | ||
|
||
## 0.1.1 | ||
|
||
- Added readme. | ||
- Minor documentation fixes. | ||
|
||
## 0.1.0 | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters