Baetsi ba morero oa NGINX ba hlahisitse ngx-rust toolkit, e leng se u lumellang hore u thehe li-module bakeng sa seva sa NGINX http le proxy e mengata ea protocol ka puo ea lenaneo la Rust. Khoutu ea ngx-rust e ajoa tlasa laesense ea Apache 2.0 mme hajoale e ho beta.
Qalong, sesebelisoa sa lisebelisoa se ile sa ntlafatsoa e le morero oa ho potlakisa nts'etsopele ea mesh ea Tšebeletso e lumellanang le Istio bakeng sa sethaleng sa Kubernetes se tsamaeang ka holim'a NGINX. Sehlahisoa ha sea ka sa fetela ka nģ'ane ho prototype 'me se tsitsitse ka lilemo tse' maloa, empa mohlala oa litlamo tse hatisitsoeng nakong ea ts'ebetso ea prototype li ne li sebelisoa ke sechaba mererong ea mekhatlo ea boraro ho atolosa bokhoni ba NGINX ho Rust.
Ka mor'a nako e itseng, k'hamphani ea F5 e ne e hloka ho ngola mochine o khethehileng oa NGINX ho sireletsa litšebeletso tsa eona, moo e neng e batla ho sebelisa puo ea Rust ho fokotsa kotsi ea liphoso ha e sebetsa ka mohopolo. Ho rarolla bothata, ho ile ha tlisoa mongoli oa ngx-rust, ea neng a filoe mosebetsi oa ho hlahisa lisebelisoa tse ncha le tse ntlafetseng bakeng sa ho etsa li-module tsa NGINX ka puo ea Rust.
Sesebelisoa se kenyelletsa liphutheloana tse peli tsa crate:
- nginx-sys - Jenereithara e tlamang e thehiloeng ho khoutu ea mohloli oa NGINX. Sesebelisoa se jara khoutu ea NGINX le litšepiso tsohle tse amanang le eona, ebe se sebelisa bindgen ho theha litlamo holim'a mesebetsi ea pele (FFI, sebopeho sa mosebetsi oa kantle ho naha).
- ngx - lera la ho fihlella mesebetsi ea C ho tsoa ho Rust code, API le sistimi ea ho romella kantle ho naha litlamo tse entsoeng ka nginx-sys.
Source: opennet.ru
