Skip to content

Commit 6f31c79

Browse files
GiggleLiuclaude
andcommitted
chore: prepare for crates.io publish v0.1.0
Add MIT LICENSE file, add repository field to macros crate, and pin macros dependency version for registry compatibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 892142b commit 6f31c79

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ good_lp = { version = "1.8", default-features = false, features = ["highs"], opt
2626
inventory = "0.3"
2727
ordered-float = "5.0"
2828
rand = "0.8"
29-
problemreductions-macros = { path = "problemreductions-macros" }
29+
problemreductions-macros = { version = "0.1.0", path = "problemreductions-macros" }
3030

3131
[dev-dependencies]
3232
proptest = "1.0"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 Jin-Guo Liu and other contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

problemreductions-macros/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55
description = "Procedural macros for problemreductions"
66
license = "MIT"
7+
repository = "https://github.com/CodingThrust/problem-reductions"
78

89
[lib]
910
proc-macro = true

0 commit comments

Comments
 (0)