
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
npm install hand-hls -g
hls new [name] -s [name]仅生成svc
hls new [name] -b [name...]仅生成bm,支持一个svc对应多个bm,此时bm名称应以逗号隔开
hls new [name] -l 生成适用于leaf的lsc
hls new [name] -f [field...]*[field...] 在生成svc和bm时注入需要的字段,字段之间以逗号隔开。生成多个bm时,每个bm对应的字段应以星号隔开,且字段列表数据必须与bm数目保持一致
hls sql [name] 生成功能脚本文件
根据当前文件下的hls.conf.js生成对应的svc和bm
module.exports={
name:string,//svc的名称
target:'leaf'|'aurora',//是否为leaf框架
bms:[{
name:string,//bm的名称
params:Array<string>,//传递的参数
fields:[{
name:string,//字段名
dataType:string,//数据库类型
javaType:string,//java类型
physicalName:string//字段在数据中的名称
}]//字段列表,可为字符串或对象,为字符串时最终会被替换为对象,其name值与此字符串相等,其它为空
}]//bm配置列表,数组中每个元素会生成对应的bm
}
FAQs
a simple command line tool to generate svc and bm files
We found that hand-hls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.