File tree Expand file tree Collapse file tree 7 files changed +9912
-33861
lines changed
Expand file tree Collapse file tree 7 files changed +9912
-33861
lines changed Original file line number Diff line number Diff line change 11.PHONY : setup
22setup :
3- # @echo "installing dependencies..."
4- # @cargo install cargo-bundle-licenses
53 @echo " creating .venv..."
64 @uv sync --locked
75 @echo " downloading test models..."
@@ -17,9 +15,7 @@ format:
1715,PHONY : licenses
1816licenses :
1917 @echo " Generating licenses..."
20- @cargo bundle-licenses \
21- --format yaml \
22- --output THIRDPARTY.yml
18+ @cargo about generate about.hbs > THIRDPARTY.html
2319
2420.PHONY :
2521clippy :
Load Diff Large diffs are not rendered by default.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ <html >
2+
3+ <head >
4+ <style >
5+ @media (prefers-color-scheme: dark) {
6+ body {
7+ background : #333 ;
8+ color : white ;
9+ }
10+ a {
11+ color : skyblue ;
12+ }
13+ }
14+ .container {
15+ font-family : sans-serif ;
16+ max-width : 800px ;
17+ margin : 0 auto ;
18+ }
19+ .intro {
20+ text-align : center ;
21+ }
22+ .licenses-list {
23+ list-style-type : none ;
24+ margin : 0 ;
25+ padding : 0 ;
26+ }
27+ .license-used-by {
28+ margin-top : -10px ;
29+ }
30+ .license-text {
31+ max-height : 200px ;
32+ overflow-y : scroll ;
33+ white-space : pre-wrap ;
34+ }
35+ </style >
36+ </head >
37+
38+ <body >
39+ <main class =" container" >
40+ <div class =" intro" >
41+ <h1 >Third Party Licenses</h1 >
42+ <p >This page lists the licenses of the projects used in cargo-about.</p >
43+ </div >
44+
45+ <h2 >Overview of licenses:</h2 >
46+ <ul class =" licenses-overview" >
47+ {{ #each overview }}
48+ <li ><a href =" #{{ id }} " >{{ name }} </a > ({{ count }} )</li >
49+ {{ /each }}
50+ </ul >
51+
52+ <h2 >All license text:</h2 >
53+ <ul class =" licenses-list" >
54+ {{ #each licenses }}
55+ <li class =" license" >
56+ <h3 id =" {{ id }} " >{{ name }} </h3 >
57+ <h4 >Used by:</h4 >
58+ <ul class =" license-used-by" >
59+ {{ #each used_by }}
60+ <li ><a href =" {{ #if crate.repository }} {{ crate.repository }} {{ else }} https://crates.io/crates/{{ crate.name }} {{ /if }} " >{{ crate.name }} {{ crate.version }} </a ></li >
61+ {{ /each }}
62+ </ul >
63+ <pre class =" license-text" >{{ text }} </pre >
64+ </li >
65+ {{ /each }}
66+ </ul >
67+ </main >
68+ </body >
69+
70+ </html >
Original file line number Diff line number Diff line change 1+ accepted = [
2+ " Apache-2.0" ,
3+ " MIT" ,
4+ " Unicode-3.0" ,
5+ " MPL-2.0" ,
6+ " CDLA-Permissive-2.0" ,
7+ " BSD-3-Clause"
8+ ]
Original file line number Diff line number Diff line change 22name = " encoderfile-core"
33version = " 0.1.0"
44edition = " 2024"
5+ license = " Apache-2.0"
6+ license-file = " ../LICENSE"
57
68[[bench ]]
79name = " l2_norm"
Original file line number Diff line number Diff line change 22name = " encoderfile"
33version = " 0.1.0"
44edition = " 2024"
5+ license = " Apache-2.0"
6+ license-file = " ../LICENSE"
57
68[[bin ]]
79name = " cli"
You can’t perform that action at this time.
0 commit comments