Skip to content

Commit

Permalink
Make int and float types generic and change license to AGPLv3. (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
ISibboI authored Oct 17, 2024
2 parents d6fefdd + 121698f commit 0d902f5
Show file tree
Hide file tree
Showing 30 changed files with 1,985 additions and 893 deletions.
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<your pull request description here>

-------------

* [x] I publish this contribution under the [MIT License](https://opensource.org/license/mit).
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

env:
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings

jobs:
rust_check:
Expand Down Expand Up @@ -58,6 +59,7 @@ jobs:
- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt

- name: cargo format
Expand Down Expand Up @@ -138,6 +140,8 @@ jobs:

- name: Install toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable

- name: cargo doc
run: cargo doc --all-features
Expand Down Expand Up @@ -178,7 +182,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: CLI
uses: GuillaumeFalourd/assert-command-line-output@v2
uses: GuillaumeFalourd/assert-command-line-output@v2.4
with:
command_line: cargo run -- p = 2\; p + 3
contains: 5
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [11.3.1](https://github.com/ISibboI/evalexpr/compare/11.3.1...12.0.0) - ???

### Changed

* `evalexpr` is now licensed under the GNU Affero General Public License Version 3

## [11.3.1](https://github.com/ISibboI/evalexpr/compare/11.3.0...11.3.1) - 2024-10-13

### Fixed
Expand Down
33 changes: 16 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repository = "https://github.com/ISibboI/evalexpr.git"
homepage = "https://github.com/ISibboI/evalexpr"
documentation = "https://docs.rs/evalexpr"
readme = "README.md"
license = "MIT"
edition = "2018"
license = "AGPL-3.0-only"
edition = "2021"
rust-version = "1.65.0"

[badges]
Expand All @@ -23,19 +23,19 @@ name = "evalexpr"
path = "src/lib.rs"

[dependencies]
regex = { version = "1.5.5", optional = true}
serde = { version = "1.0.133", optional = true}
serde_derive = { version = "1.0.133", optional = true}
rand = { version = "0.8.5", optional = true}
regex = { version = "1.11.0", optional = true }
serde = { version = "1.0.210", features = ["derive"], optional = true }
rand = { version = "0.8.5", optional = true }

[features]
serde_support = ["serde", "serde_derive"]
regex_support = ["regex"]
serde = ["dep:serde"]
regex = ["dep:regex"]
rand = ["dep:rand"]

[dev-dependencies]
ron = "0.7.0"
ron = "0.7.1"
rand = "0.8.5"
rand_pcg = "0.3.1"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
Loading

0 comments on commit 0d902f5

Please sign in to comment.